Creating Menus and Showing the Visited Links using Advanced Actions
Scenario: You are creating an eLearning course, which spans into multiple modules. You want to tie it all together and have a Menu page from where you would like to access these modules. You also want to enable bookmarking so that a tick mark appears next to the module name, after the learner has viewed the module.
Here’s an example:
Let’s see how we can achieve this with the power of advanced actions and variables.
So… let’s get started!
Step 1: Create the Menu Project and Modules
We need to create a project with menu items, which would navigate to other modules of the course. Here’s how these projects look like.
Step 2: Enabling Navigation between the Projects
Following demonstration shows how every project is linked to main menu project. In this case, we are linking the projects together through Open another project action.
Step 3: Determine whether any Module has been Visited
Whenever user clicks the button to view the module, we will store that information in a variable. Following demonstration shows how we can play with variables and advanced actions to achieve it.
Step 4: Show a Checkmark and Disable Navigation if a Module is Already Visited
Once we store the information that a project has been visited, we will use that data to show visually a checkmark on stage. Also, we will disable the button interactivity. This is possible using conditional actions. Following demonstration showcases that.
Step 5: Creating a Single SWF using Aggregator
Following demonstration shows how to create a single SWF using Aggregator.
Hope this post is useful for you!