Auto Play Next Slide with Slide Layers

Sep 13, 2019

I built a slide with multiple layers and each layer has audio. A layer will display and play audio based on which icon is selected. There is not a specific order to select the icons, the user can select at random - because of this I can't simply add a trigger to the last layer to move to the next slide because there is no true last layer. Is there a way to trigger going to the next slide in this scenario? I'm not sure how to solve for this or if I need to take a different approach.

1 Reply
Jerry Beaucaire

I do this a lot as well!   Normally we could just use STATES, and jump to the next slide when all the icons have a specific state.   You don't want to use VISITED because when the user clicks on the last icon, it would change to visited even though they are just now heading to that last layer, so the trigger would advance them to the next slide too early.

Fortunately, you can set states manually, too.

On each of the layers, set a trigger to change the state of the associated base layer icon to DISABLED when something on that layer completes.  You could do it when the audio completes, or when the layer timeline ends, or when the user clicks a button on the layer that closes the layer.  You decide, just keep in mind it's the LAST layer that's the tricky one.  Think about the experience you want when the user is finishing the last layer.

So, assuming there are 4 icons, on the base layer also create a slide level trigger to jump to the next slide when the state of icon1, icon2, icon3 and icon4 are all disabled.

That should do it.

This discussion is closed. You can start a new discussion or contact Articulate Support.