Forum Discussion
JillFreeman
13 years agoCommunity Member
How to prevent audio from playing when returning to slide
Hello! I would like to find an elegant way to prevent the audio from playing if a user returns to a "main menu" slide.
Let's say that I have a slide that requires a user to view 4 scenarios by c...
NinaPrescott-98
2 years agoCommunity Member
Hello,
I am trying to stop audio from playing when the user returns to the menu under an image. The menu is not on my base layer. It's on my 4th layer. I was able to add:
- Create a true/false variable named "audio play".
- Set the default value to false.
However, I am stuck on where to go next?
I am enclosing my work on slide 1.11
StevenBenassi
2 years agoStaff
Hi Nina!
Thanks for sharing your file. Happy to help!
On slide 1.11, I added a trigger on each of the four button layers to adjust the variable (audioshouldplay) that disables the audio.
I also removed several unnecessary triggers, most of which being the pause audio triggers. I've attached a revised copy of your .story file for your reference.
Please let me know if you need anything else!
Related Content
- 11 months ago