Making a layer appear behind other layers

Aug 21, 2012

Is this possible?

I've had a long day of variable-mashing and seem to be too tired to get my head around this, hence putting it out to the hive.

Basically, I want layer C to appear if layers A and B have been visited.  Mechanically simple until I realised C has to appear beneath A and B.  I prefer something less than complicated because I'm going to have to replicate this about 150 times across 20 modules.  Have been thinking about using states as well, but right now my head needs a break.

Any pointers appreciated ...  thanks

8 Replies
Simon Perkins

Nope, not working as expected.  

If A and B close (when both visited), C should appear with A and B on top.  That's the logic.  A and B also need to appear in the order they were last visited, so I've create a duplicate of C that merely shows B and then A (in that order instead of A then B).  But so far I can't get both A and B to show.  The logic bots in my head must be rested methinks.

Simon Perkins

A and B each hide both A and B at the start of their timelines, then they open C.  Then C re-opens both A and B (the other version of C open B then A (because that's the order A and B were last visited).  There is no other hiding going on, yet can't get both A and B to appear in the first place.  Odd, but probably entirely logical - just haven't seen why yet. 

Jean Simmons

I realize this post is from 3 years ago now, but someone may be looking at this wondering the same thing. An easy way to get this to work properly is with a variable.

It sounds like layer A has imagery, then Layer B has imagery, and layers A and B are viewed separately. To make it easier for my own visualization let's say A, B, and C are a 3 panel triptych. You select a "button" to view A. You select a "button" to view B. When you AREN'T viewing A it automatically closes. When you AREN'T viewing B it automatically closes. A is the left triptych panel and B is the right triptych panel. This being said, so far A and B won't appear simultaneously until you've visited both.

So create some variables.

  • SawA - which becomes true if and only if layer A closes.
  • SawB - which becomes true if and only if layer B closes.

Now we need to create a 3rd variable

  • ShowABC - which becomes true if and only if SawA and SawB are BOTH true.

Once SawA and SawB both become true, then you have a NEW active variable ShowABC. Create a trigger that shows layer A, layer B, and layer C simultaneously if and only if ShowABC becomes true. 

Now it won't matter that A and B are set to close automatically. It also doesn't matter which order the end user views them in. You also don't have to worry about the fickle stability of variables working with the "visited" trigger. This may also eliminate the worry about the visual order of the layers as, you can set that last trigger to show whichever layers you want once ShowABC becomes true. You could even make "spin off" variables with similar logic to show a variety of layers.

3 years later, I hope this helps someone!!

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