Using Variables within layers
Mar 07, 2014
Please can someone help?
Within my tutorial I have a slide with mulitple layers, including audio which in turn have hotspot buttons to other layers within the same slide.
I have created a variable called playOnce that is setup that if the layer is clicked on a 2nd time that it should not play the audio. Sadly this works lovely, but only once within that slide.
I then created and saved multiple variables to be used throughout the slide based on the same principle of true and false... sadly with no luck :(
Thanks
4 Replies
Hi Patricia, welcome to the community. See attached file that I adapted from a previous example. There are five buttons on the baselayer, which each show a layer. On each layer, there is a trigger that plays the layer's audio, when a variable is false. Another trigger changes the variable to true once the layer's audio has been played to the end. This way, the audio for each layer only plays the first time around. Hope that's what you wanted.
Hi Patricia,
I just wanted to echo Michael's welcome to the community! If you need anything else please let us know!
Thank you Michael, your example was spot on, it worked perfect.
Thanks for the update Patricia, and please let us know if you need anything else!
This discussion is closed. You can start a new discussion or contact Articulate Support.