Variable to prevent layer selection until audio completes
May 28, 2014
Hi everyone!
I have a slide in a course I am building and this slide has a base layer and then five layers that are selected by clicking on a corresponding object in the base layer. It is actually from a nifty template I downloaded from this site.
I have audio on the base layer and on each of the layers that are selectable. I want to make it so once they land on the page from the previous page, the base layer audio starts and they cannot select the next layer until the base layer audio completes. Then I want to make it so that they can't the second layer until the first layer's audio completes, and so on down the line. Then, I want to make sure they cannot use the "Next" button to advance until the audio on Layer 5 has completed.
I can't seem to get the variables right for this. I have attached the .story file and would appreciate suggestions!
Bruce
4 Replies
Have a look at the attached file and see if that's what you wanted. With the variables you had set up, I added a condition to the Show Layer triggers so that they only work if variable xyz is true.
Thanks Michael - for some reason when your answer is the only one here, and verified the file doesn't show up.
That's exactly what I was trying to accomplish ... thank you Michael!
I guess I was on the right track with the variables, but I didn't set them to false when the timeline started.
I really appreciate the help ... and the lesson!
This discussion is closed. You can start a new discussion or contact Articulate Support.