Can someone explain why this doesn't work?
Feb 25, 2014
Ran into an issue and am hoping someone can explain why this doesn't work. I attached a a file to show what's not happening.
There is a slide with a base layer and 3 layers. On the base layer there is 2 shapes. Each shape has a normal and visited state. When you click on shape one, it shows layer 1. When you click on shape 2 it shows layer 2.
The layers hide the base layer. Each layer has a hide layer button to take you back to the base layer.
The base layer has a trigger to show layer 3 when both shapes on the base layer have been visited. Layer 3 has an exit button. The base layer should not be hidden.
The problem is layer 3 won't show up unless I include a button trigger (which is not in the attached file) on each layer to make the state of the shape on the base layer visited. But when you click on the shape, it goes to it's visited state.
So why does this not work without the added trigger?
6 Replies
Hi Mike,
I got this to work for you by attaching a trigger to the "Hide Layers" buttons on Layers 1 and 2. The trigger says to show layer 3 when the user clicks the "Hide" button, if Rectangle 1 is visited and Rectangle 2 is visited.
Hope it helps!
Jill
Jill,
Thanks for the reply. I understand your logic. I was able to get it to work too by also including an extra trigger on the layer button that says to change the state of the button on the base layer to visited. My question is... Why do you need to have those extra triggers?
If I click on a button that has a visited state, is the button not visited? Will the button not be defined as visitied until it is defined as visited through a trigger?
My guess is that the reason layer 3 won't show up is because the trigger is never really being triggered. I usually like to tie my triggers to actions in the slide. Either when the timeline of something starts/ends or when a user clicks on something. The only other trigger that works for me with no user action is when a variable changes.
I removed your trigger on the base layer and added a trigger on layer 1 and 2. These are conditional triggers. When the user clicks the button to hide layer 1 it will first attempt to show layer 3 ONLY IF rectangle 2 (from base layer) is visited. If it isn't then it just hides the layer. Same thing for Layer 2.
Let me know if you have any other questions. Attached is my fix.
here's what I did:
Works like a champ!
Hi Mike,
It looks like you're well assisted here, but if you need anything else please let us know!
Nick,
Thanks for the explanation. I get it now and it makes total sense. The show layer 3 trigger is the first thing that is hit when the slide starts. After hitting the two buttons, they are in the visited state but the show layer 3 trigger is never seen again.
This discussion is closed. You can start a new discussion or contact Articulate Support.