Use the Play Timeline and Stop Timeline actions to let users start and stop a timeline by clicking a link or button; or to start and stop a timeline automatically when the user rolls over a link, image, or other object. The Play Timeline action is automatically attached to the BODY
tag with the onLoad
event when you select the Autoplay option in the Timeline inspector.
To use the Play Timeline and Stop Timeline actions:
1 | Choose Window > Timeline to open the Timeline inspector and make sure that your document contains a timeline. |
If you see no purple animation bars in the Timeline inspector, your document does not contain a timeline. See Creating a timeline animation. | |
2 | Follow steps 1 through 3 of the procedure in Attaching a behavior. |
3 | Select Play Timeline or Stop Timeline from the Actions pop-up menu. |
4 | Select the timeline you want to play or stop, or choose to stop all timelines, from the pop-up menu. |
5 | Click OK. |
6 | Check that the default event is the one you want. |
If it isn't, select another event from the pop-up menu. If the events you want are not listed, change the target browser in the Events For pop-up menu. | |
![]() |