Forum Discussion
Web object slide (survey slide): Exit course with user clicks button only if timeline has ended.
Well, you COULD always insert an Exit button, drag it to display at 45 seconds on the timeline, and call it good. 🙄
Give the attached a spin instead.
The [Exit] button's initial state is Disabled, and the color reflects that. You could just as easily set its initial state to Hidden.
The Timer Box moves on a linear path which is 1 second in duration. When it gets to the end of the path, it recycles, starting over at the top. I have it visible on the slide for the demo; you can move it off-screen since the Origin is set to Unlocked.
The numeric variable numSeconds is the key. Initially set to 0, it increments by one every time the animation completes, as long as numSeconds is greater than or equal to 0. I have numSeconds displayed on-screen so you can see it incrementing; feel free to move that off-screen as well.
When numSeconds is greater than or equal to 45, the state of the [Exit] button is changed to Normal.
Related Content
- 5 months ago
- 10 months ago
- 9 months ago