How can I return to a specific layer in a slide

Jun 14, 2013

At the end of a scene, I want to return to a speicic layer in a previous slide, not the base layer.

10 Replies
Alexandros Anoyatis

Hi Karen,

You are going to have to resort to using variables for this, unless the layer in the slide you want to return to is the last viewed layer when you move from that specific slide ( i hope this makes sense ).

Assuming your end of scene slide is "slide 2" and the previous slide is slide 1, then you can do the following.

A. Set a true/false variable (say 'slide1chk' with an initial value of false).

B. in slide 2, right before the 'visit slide 1 when user presses button' trigger, create a new trigger to change the value of 'slide1chk' to true.

C. In slide 1, create a trigger in the form of 'show layer X when timeline of base layer starts if 'slide1chk' equals true.

Unless I'm missing something, that should do it.

Hope this helps,

Alex

P.S.:Apologies for any typing mishaps - currently writing from iPad.

Karen O'Brien

Thanks I think this will help (I'm very new to variables), Unfortunately, I'm making it even more complicated as I have 4 layers that I want different scenes to return to.  Example:

Scene 2 will return to Slide 1/ layer 2

Scene 3 returns to Slide 1/layer 3

Scene 4 returns to Slide 1/layer 4

I may have to resort to creating 3 additional slides.  That might be the easiest solution until I have time to experiment.

Ashley Terwilliger-Pollard

Hi Steve and welcome to Heroes!

I took a look at your file and saw the odd behavior, so I tried to import it into a new file and the behavior persisted. Can you double check that you're working with local project files as described here? 

I also changed the behavior of your slide's properties to allow for it to advance by user, instead of automatically and I'd suggest to remove the trigger to advance when timeline ends and change it to when the user clicks, as the slides will continue to loop. For more information on how the slides will behave based on the slide properties please review this article. 

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