Forum Discussion
Layers with audio reveal on slide without audio overlapping and layer text staying on screen
I'm having the same exact problem.
Hi Celeste,
The challenge here is that the layer properties are what control the behavior of the items on the layer. So in this instance, if the layer property is set to Hide other slide layers, then the text will disappear and the audio will stop playing. And if we disable that layer property (which is what I'm guessing the original poster did), then the text stays, but the audio won't stop. And since we can't target audio on one layer with triggers from another, we need to adjust the design a bit.
So the goal here is that we want the text to stay but the audio to stop. There are various ways we could accomplish this and one approach eschews layers entirely (but takes a lot of triggers).
I'm attaching a .story file for you to decide which will work best for you. In short, the three options I share are:
Slide 1. Put everything on the base layer. Start the text in the hidden state and then use triggers to show the text and play the audio when the user clicks the button.
Slide 2. Put the text on the base layer and the audio on slide layers. Similar state change for the text as in option 01 and then we use the layer property of hide other layers to have the audio stop.
Slide 3. We flip the script on #2 by putting the audio on the base layer and the text on the slide layers. We also alter the slide layer properties to not hide the other slide layers.
I'm sure other Storyline users could share additional approaches, but I wanted to share these three to get you started. Out of the current options, #2 seems to be the most efficient.
I hope the file gives you some ideas for how to set up your own slide. Please reach out if you have any questions.
Mike
- CelesteMurray-53 months agoCommunity Member
Mike, thank you so much for taking the time to send this detailed response and the sample .story file! I'm going to dive in today and give option #2 a try. I love the support on E-Learning Heros!
- MikeEnders3 months agoStaff
Hey CelesteMurray-5
Additional thing I forgot to mention. If an object that's hidden has an animation, when that object's state is changed to normal, the animation will fire. So, for option #2 if you add, say, a fade animation to the text, then it will fade in when the state is changed to normal.
Mike