Advancing to next slide automatically after all layers are viewed!

Aug 17, 2014

Hello - I am hoping that someone will be able to help me out! I am losing my mind over a slide I have been working on...I have been searching the forums, watching youtube videos etc. and just can't figure out where I am going wrong!

The scenario is this: I have 4 buttons on a slide - each button leads to a different layer. I want users to have to click on each button and view each layer...and then I would like the slide to automatically advance to the next slide. So far I have been able to make it so that you must click on each button no problem - but when the user clicks on the last button it advances to the next slide without showing the layer.

Any help would be appreciated.

I have only found tutorials so far on disabling a next button - but I don't want a next button, I want an automatic advance once all layers are viewed.


7 Replies
Ashley Terwilliger-Pollard

Hi Jennifer and welcome to Heroes!

Without seeing your file, I'm only guessing at how you may have set this up but I imagine you're setting the "jump to next slide" trigger based on the visited state of each button? A button becomes visited once a user clicks on it therefore allowing the "jump to next slide" trigger when all buttons are visited to execute and you miss the final layer. Instead of that, what about adding a variable adjustment to the end of each layer's timeline (assuming that is what is controlling when the user no longer sees the layer) or once the layer starts if the user has to take an action to return to the base layer. You could then set the "jump to next slide" trigger to advance once all the variables for your layers are equal to X (I may say it's easiest to use a T/F variable and change them all to True).

Hope that helps and feel free to let us know if you need anything else!

Jennifer Greene

Thanks - I tried what you described and it's showing all the layers but will not proceed to the next slide. I can't figure out where it's going wrong. I tried to attach the file but I can't get it to upload so it seems I am well and truly stuck lol. I will have to go a less fancy route I guess. Thank you for replying though!

Michael Hinze

Jennifer, see attached a quick example of how this might be done (as always with Storyline, there are several options to achieve the same result). As each layer is viewed and closed, a variable is set that signifies 'layer completion'. When all layers (in my example three) were viewed than another variable is set, which in turn executes a trigger to jump to the next slide. Hope that gives you some ideas.

Nicole Legault

Hey Jennifer!

Welcome to the community and thank you for posting! I thought this was a great topic and totally worthy of a video tutorial since, as you mentioned, there isn't one for this exactly. And there might be other users out there who are trying to accomplish the same thing. As Michael mentioned, there is definitely more than one way to do this and there's no right or wrong. It's just about what works for you. In my example, I used states on the buttons to trigger the auto-advance to the next slide.

I wrote a quick blog post about this question in the Blogs area. You can see the published output of the example here, and you can download the .story file to see how it was all pulled together.

Finally, here's a video tutorial I created you can follow that described how I built the template.

Hope this helps Jennifer! Let me know if you have any additional questions and Good Luck!

Jennifer Greene

Wow thank you for the support I am so impressed! I will look at those examples for sure I actually found a solution last night where on each of the 4 layers I set a trigger for the button on the main slide to become deactivated once the layers timeline was complete (there's a short video on each layer) - then on the main slide I set the slide trigger to advance once all buttons were in a deactivated seems to work - all layers must be watched and the slide advance automatically. I also set the buttons to visited once clicked on the main slide....that seemed to help with the intro audio not playing each time the learner returns to the main slide. (I think this is basically the same as what you suggested Nicole).

Thank you so much for the responses! Next time I won't wait until I am on the point of complete frustration before reaching out that's for sure!

Nicole Legault

Jennifer - Glad you were able to come up with a solution that works for you, and so happy you found all the responses here helpful. That's why we're here, so don't ever hesitate to ask for help. If there's any further questions let us know.

The great thing is that since there's no "one way" of doing things, when we're using Storyline we're constantly learning and finding new ways of accomplishing what we want!!

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