Another question on variables.
I have a slide with 5 layers on it. The user clicks on arrows right or left to move through the layers. I need to set up a conditional next button (hidden until they visit all 5 layers).
Here is what I have done and sadly, it is not working.
- I have created 5 "LayerVisited" variables - one for each layer. They are T/F variables with the initial value set to false.
- On each of the five layers, I created a trigger to change the appropriate "LayerVisited" variable to true when the timeline starts on that layer.
- On the base layer, I created a Next button and set it's initial state to hidden. (I've turned off the built-in Next and Previous buttons)
- I then created this trigger:
Action: Change the state of
On Object: Next Button (my manual one)
To State: Normal
When: Variable changes
Layer1Visited = True
AND Layer2Visited = True
AND Layer3Visited = True
AND Layer4Visited = True
AND Layer5Visited = True
The state of the Next button does not change. Please help me identify where I have gone wrong in my logic here.