Behaviors > Using the behavior actions that come with Dreamweaver > Play Timeline and Stop Timeline

 

Play Timeline and Stop Timeline

Use the Play Timeline and Stop Timeline actions to let visitors 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 Autoplay in the Timelines panel.

To use the Play Timeline and Stop Timeline actions:

1 Choose Window > Timeline to open the Timelines panel, and make sure that your document contains a timeline.
If you don't see any purple animation bars in the Timelines panel, your document does not contain a timeline. See Creating a timeline animation.
2 Select an object and open the Behaviors panel.
3 Click the Plus (+) button and choose 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, choose another event from the pop-up menu. If the events you want are not listed, change the target browser in the Show Events For pop-up menu.