Forum Discussion
HELP!!! Please and Thank you.
I hear your pain. It took me a while to figure out how to get a hidden object to be revealed when the available buttons can be clicked in any order.
You'll need a true/false variable for each of the 4 layers the user can view. We'll call them, learnMORE1, learnMORE2, learnMORE3, learnMORE4. When the layer is viewed it will change to true.
Better Care layer would use learnMORE1, Less abuse layer would use learnMORE2, etc etc
You will also need a variable to trigger the final layer. This will also be a true/false variable. We'll call this variable layervisited.
All this variable will do is swap between true and false everytime a user clicks the return button on the layers.
So the functioning triggers are
on each LAYER:
When user clicks "RETURN" button
adjust variable learnMORE1 to TRUE (or learnMORE3 for example)
toggle layervisited
Hide layer this layer
And then on the BASE LAYER:
Show FINAL LAYER (or you could have a hidden button on the base layer)
When variable changes layervisited
IF leanMORE1 = TRUE
IF learnMORE2 = TRUE
IF learnMORE3 = TRUE
IF learnMORE4 = TRUE
The learnMORE variables confirm the user has seen all the layers. and the layervisited variable is the tester. So it will change every time a layer is closed causing the test to run.
I hope this helps.
Related Content
- 1 month ago
- 9 months ago
- 7 months ago