Need different sound track to play when returning to menu slide

I am working on a course with 4 lessons and a Main Menu. On the main menu, I have a sound clip that I want to play when the user first accesses the course. At the end of each lesson, the user is asked to return to the main menu. How can I set up a trigger so that a new sound clip will play when the user returns to the main menu? Also, the user does not have to complete the lesson to return to the main menu...they can return at any time.

Any help would be greatly appreciated!

19 Replies
Brett Rockwood

This should be pretty straightforward using variables and different sound tracks on different layers. I would create the 2 audio tracks, one for the first time visitedand put it on layerX. Then put the second audio track on layer Y for any subsequent visits to the menu,Then create a true/falsevariable called "MenuVisited" and set the default to "false." Put a trigger on the Menu slide that says to change the variable to "True" when the timeline begins.Then set another trigger on the Menu slide that says "Show LayerY" when the timeline begins if the variable "MenuVisited" = True.

So what happens is the first time you visit the Menu slide SL checks the variable and sees that it's false so it plays the audio on layer X and also changes the variable to True. Now any time the user comes back to the Menu SL will read the variable and it'll be True so it will play the audio on Layer Y.

There are other ways you could do it but this should work.

Sunday Coulter

Argh, doe snot quite work the way it should. it plays both tracks if I set thetrue/falsevariable called "MenuVisited" to "false." Then I put a trigger on the Menu slide that says to change the variable to "True" when the timeline begins. I double-checked that I have set another trigger on the Menu slide that says "Show LayerY" when the timeline begins if the variable "MenuVisited" = True. It seems as soon as the timeline starts the variable changes to true--which then triggers the hidden layer to play as well. I also tried settingthe variable to "True" when the timeline ends, but it just plays after the first track ends--**sigh** help please!!!!