"Completed" audio triggers in a menu - Help please

Jan 22, 2018

I have a menu page with images representing sections 1, 2 and 3 (the images are just very decorative numbers). Each image has a trigger to jump to the associated section;  finish the section and you're returned to the menu. Each image has a Visited state that turns it gray so you can keep track of the sections you've completed.

The audio clips say, for example, "Please click on Section 1-2-3..."  Of course, the first clip plays fine upon your first visit to the menu, but the problem I'm having is getting the subsequent clips to play when you return.

I have the Section 2 clip triggered to play when the state of 'Image 1' is Visited. However, Image 1 is technically 'visited' as soon as you click on it, so when you return to the menu, the short audio clip is already playing or complete, depending on how quickly your browser loads.

I'm not too good with variables so I hope I don't need one here, lol.  I'd appreciate any suggestions... TIA!

5 Replies
W Gill

Hi Denise,

I have used variables in cases like this.  It is fairly easy and I'll explain...

You will create 3 variables - i.e. Section1,  Section2, and Section3. Make them default to FALSE.

At the end of Section 1, on the last slide, create a trigger to change the Section1 variable to TRUE. Do this for the remaining sections.

At your menu page (where you want to change the state of the image to visit), Create a trigger that changes the state of the images IF the Section1 variable is true.  You will do this for the remaining sections as well.

Let me know if you have any other questions.

denise cook

It worked beautifully!!! At first, I had too much in the trigger because I tried 'Play media "Audio1" when Variable Changes..."  That was all wrong.

What works is simply:

Play media "Audio1" when the timeline starts
If Section1 is equal to True

And on the last slide of Section 1, I put:

"Set Module1 equal to True when the timeline starts"

Perfect and simple.

Thank you again, W Gill!

James  Bennett

Just as a heads up...you'll want to add extra conditions onto that trigger (and any others) so that multiple audio files don't get played at the same time.

So in your example:

Play media "Audio1" when the timeline starts
If Section1 is equal to True
AND Section2 is equal to False
AND Section3 is equal to False

Using the conditions like this just makes sure that two audio files aren't played at the same time and they are definitely going to play when you intend them to.

This discussion is closed. You can start a new discussion or contact Articulate Support.