Forum Discussion
Show layer / button upon returning to a slide.
If every interaction takes people away from a slide, and then they return to a resumed state, is the issue that there is no 'when' allowing for the 'action' to occur?
Yes. Best practice seems to be to set the menu slide to reset to initial state on revisit. That causes a restart of the timeline, which can be used as the "when" for triggers. Because variables are immune to being changed when a slide is reset you would have one (usually T/F) for each section to be visited. Each section would use the action that returns it to the menu slide to set its variable to indicated it had been visited. (This trigger must be in the trigger list before the trigger to jump to the menu slide, or it won't be executed,) When the menu slide is restarted, you can optionally check a variable and if it is True, change the state of the corresponding image to indicate that section is visited. (Note: if you want to do that, don't use the Visited, or any other built-in state. Creating triggers to mimic the built-in functions interferes with their super powers. Create a custom state.) Then you would need a trigger to make the button appear when the timeline starts if all of the section variables are true.
All works well, but it will cause you a problem if you want to show the animation the first time the slide is visited, and skip it every time thereafter. I would create a AnimationShown T/F variable. Create a trigger to show the animation when the timeline starts if the variable is False, and another to set it to True when the animation ends.
Check the mixed Navigation in the sample at this post:
It has four buttons that take the learner to different slides, and when they are all visited, a button appears that can have any trigger on it you want. In the restricted navigation, the four buttons appear in order, only after the previous one is visited.
Related Content
- 3 months ago
- 8 months ago