Accessibility
 
Home > Products > Dreamweaver > Support > Dynamic Layers
Dreamweaver Icon Macromedia Dreamweaver Support Center - Dynamic Layers
Creating a timeline animation

The first step to creating an animation in Dreamweaver is adding the object you're animating to the timeline.

To add a layer to a timeline:

1 In the Document window, select the layer you want to add to the timeline.
Note: In the Property inspector (Control+F3 or Command+F3), enter a name for the image or object so you can easily identify the object you're working with when it appears in the timeline.
2 Select Window > Timelines to open the Timelines panel.
3 Drag the layer to position it in the page where you want the animation to begin.
4 Add the layer to the timeline, by doing one of the following:
Drag the layer to the Timelines panel.
Select Modify > Timeline > Add Object to Timeline.
Right-click the layer and select Add to Timeline.
If a layers information dialog box appears, click OK.
Dreamweaver adds an animation bar to the first animation channel in the timeline.

 
Moving a layer
Adding a layer to a timeline automatically places the layer in a timeline and adds a beginning and ending keyframe. If you click each of these keyframes you'll see the object looks the same in both frames. To create a motion path for the animation, you must select the ending keyframe, then change the layers position in the document.

To set an animation path:

1 In the Timelines panel, click the end keyframe marker at the rightmost position of the animation bar.
The playback head moves to the frame.
2 In the Document window, move the layer to the position where you want it displayed when the animation ends.

In the Document window, you see a line showing the animation path.
3 In the Timelines panel, select Autoplay so the animation automatically plays when the page loads in the browser window. If a Play Timeline information dialog box appears, click OK.
4 To preview the animation in the Document window, click the keyframe, and then drag the playback head to the right.
The layer moves across the Document window following the path you set.
5 Press F12, to preview the animation in a browser.
To Table of Contents Back to Previous document Forward to next document