How can I control whether or not an audio files plays when a slide starts?
I am putting together a course and have a welcome audio that plays automatically when the user begins the course. Since that slide has a list of the modules that will be in the course, I would also like to use it as one navigation option - click the "Menu" link on any slide and return to this page.
The problem: Every time the page is hit the audio plays.
The question: How can I set the audio so it only plays the first time the page is entered but not again?
I have created a variable called "PlayWelcomeAudio" and set it to "Y" initially, then have an Advanced Action script that changes the variable to "N" when it is clicked (progress through the course is linear so there is only one option available to the user at this point. Clicking that link opens the next page and sets "PlayWelcomeAudio" to "N".
I can see that the variable has been set correctly (when I start it is "Y" and when I come back it is "N") but I'm not seeing anyplace where I can set the audio file so it doesn't play.
I tried setting cpCmndMute to "1" but that didn't work because it is apparently a global setting and I didn't get any audio playing anywhere after that.
I'm not looking to pause the timeline or anything like that. I just want the audio to play the first time but not the second and subsequent times that page is hit.
Thoughts? Suggestions?
Thanks.
Michael