One symbol has a timeline that makes an object appear with a fade in (Opacity from 0 to 100) and then it disappears (Opacity from 100 to 0). When the timeline reaches the end, a Timeline Action forces it to resume the timeline from the beginning.
Then I add a button.
Each time I click on the button, I would like that the Timeline of the Symbol starts.
Then I click again on the button, the timeline of the symbol freezes.
Then I click again on the button, the timeline of the symbol RESUMES where it stopped and continues to play the animation.
A timeline can be used to animate… so far, so good but it can also be used to host Timeline Actions and hence trigger actions. So, the key frames contain such actions. We essentially use the timeline as a progression for pausing and continuing the Main Timeline.
Click on button plays the controlling timeline until the next key frame and stops itself and pauses Main Timeline
Click on button plays the controlling timeline until the next key frame and stops itself and continues Main Timeline
if you do not mind including a script in the document head you can use the conditionLinker which enables a setup just using Hypes UI …stop-play_conditionLinker.hype.zip (15.0 KB)