Forum Discussion
Audio layers mix up and previous/next
Hi Everyone!
I have a slide where the user clicks on different squares to learn more information on different layers. Each new layer has two audio tracks. The first one is what happens before the van/airplane is clicked on. Once it is clicked on, the other audio starts and the first audio stops. It works fine until you revisit the layer. Then, the audio gets weird after you click on the object. How do I make the second audio track go back to the original state when the layer is being revisited?
Also, a suggestion was made to make the next/previous buttons unavailable on the layers and only visible on the main base layer so that people wouldn't move on to the next slide accidentally. I don't really want to require the learner to click on all the layers if they don't want to, but I don't want them to do it accidentally either. I want them to be required to at least go back to the base layer, and then they can decide if they want to skip the other ones.
What would be a good strategy for disabling the previous/next buttons on the layers and not the main base layer? I hope this makes sense.
- NedimCommunity Member
Audio:
Just a thought: I would probably add a trigger to stop the audio when the user clicks the same rectangle that hides the layer. This way, if you revisit the layer, the audio will start from the beginning.
Next Button:
Create a True/False variable (e.g., "isLayer") initially set to "False." Then, add a trigger on the base layer:Add additional triggers on each layer:
- AprilDrennan-f8Community Member
Thanks! I'll give it a try!
- AprilDrennan-f8Community Member
I do actually have a follow up to the audio part. I am not sure if I read it right. Are you saying to stop the audio on the base layer hotspot before it opens the other layers? Or is there another place to stop the audio?
- NedimCommunity Member
No. Stop the second audio on each layer when each layer is closed so it goes back to its original state (start playing from the beginning) when the layer is being revisited.