Play/Pause Buttons

Is it possible to hide a Play Button when Maintimeline is playing and the Pause Button when its paused.

This would enable me to have the two buttons on top of each other showing the appropriate one at any given time!?

You could create a timeline with just two frames. 0 is paused and 1 is play. So when the button is pressed, it just goes to the next frame and stops – but also changing the state of the main timeline. With that setup, it’s just a matter of making one graphic for frame 0 and another for frame 1.

Have a look at this example which shows two ways of doing this.

The first uses Javascript to change the class and title on a single button.

The second uses two buttons and the timeline to jump them in or out of the sceneChangeButtons.hype.zip (42.6 KB)