Forum Discussion
Basic Variable question
For the example you show it is probably better to put the audio on a layer and then add a couple of triggers show the layer, make sure the layer hides itself at the end. You could add another trigger first to hide the layer so this way each time they press the button it will play the audio from the start.
You could just add triggers to stop the audio before your current trigger, but this will not prevent the audio from overlaying the other audio, layers is a more elegant design.
You don't need variables here. Variables are a way to store and pass information between slides and also a way to pass information out in javascript. You can also use variables to track progress on slides and to do calculations.
Hi Phil,
Thank you for your reply. I shall try adding the audio on the layers.
Regards,
Suri