Using the Previous Button on Layers

Hello everyone.  This is Jerry.  I asked a question before and you guys helped me a lot!!!  I need some more help.  Is it possible in Storyline to use the "Previous Button" to show previous layers.  Let's say I have 3 layers.  Can I use the "Previous Button" on layer 1 to show the Base Layer when I click the "Previous Button."  I have enabled the "Previous Button" on the Base Layer to go to the Previous slide.  But I cannot get the layer to go back to previous with the "Previous Button."  Can this be done, if so, how?  If not, is there another way that would work?  Thanks so much.

8 Replies
Daniel Sposato (Philly)

Hey Jerome, this is easy to do. Just think of it in the terms of showing then hiding a slide layer. It's a lot like showing and hiding an object. All I need to do is tell the previous button to hide layer 1. I added a button on the base layer to first show slide layer 1. I also clicked the option to hide the base layer when the slide layer is shown (click the small cog icon next to the slide layers name to set that).

If you want to do it with multiple slide layers then I would suggest setting the previous button to hide them all when it is clicked.

I have attached an example. Let me know if this makes sense!

Jerome Flasschoen

Thanks Daniel. I was not clear in my explanation of the problem. Is it possible to show a previous slide with the previous button; show the base layer from layer 1 using the previous button. I get what you are saying but that's not my issue. My issue is: I cannot show the base layer from layer 1 using the previous button if the previous button on the base layer has been set to jump back to a previous slide. It appears the base layer's previous button, once set, governs all the layers so that once the previous button shows on the different layers, it will go back to previous slide, too rather than showing the previous layer. Does this make sense?

Walt Hamilton

Jerry,

If you are talking about the built-in PREV button, it is attached to the slide, and each slide can have only one, no matter how many layers it has.

If you want to use the built-in PREV to go to a prev layer, you are going to have to do a LOT of manual record keeping.

In this sample, I only use two layers, but you can begin to get an idea of the complexity needed to keep track of which layer is open, and what order they are in.

If I were doing it, I would use custom buttons on the layers. If I were forced to use the built-in slides (which I never do), I would use separate slides rather than layers.

 

Michael Shannon

I'm sorry Jerome. You're correct. You have to add a little more logic to layer 1 and to the base layer. 

  • Add a T/F variable. Let's call it layer1prev and give it a default setting of F. 
  • On Layer1 add a trigger to change the layer1prev var to T
  • On your base layer add a trigger to Jump to (base layer name) when user clicks previous button if layer1prev is equal to T. 
  • make sure the new trigger is under the default previous button trigger (which you want to keep)

All that said, why not just add an X button with a hide layer trigger to close the layer?