Adding Flash Animations


Using Flash, you can create vector-based graphics, animations, and movies. Unlike bitmap graphics such as GIF files and JPEG files, vector graphics use mathematical formulas to create the images and objects that you see.

You can add Flash animations to your documents as easily as you can add any bitmap image, provided that the animation already exists. You can't create these kinds of animations directly within Dreamweaveryou must use Flash. For this exercise, an animation that was created in Flash is provided for you.

1.

Open the chakras.html document from the Lesson_07_Multimedia folder. Add an extra paragraph above the text and place the insertion point on the new line.

Be sure to use a paragraph return, not a line break. You need a new text block.

2.

From the Common category of the Insert bar, click the Media menu and select the Flash icon. In the Select File dialog box, select Images/Chakras.swf and then click the Choose button (Macintosh) or Select button (Windows).

Similar to images, you can also insert a Flash animation from the Assets panel.

3.

In the Object Tag Accessibility Attributes dialog box, type chakras into the Title menu.

The Flash animation is placed on the page.

4.

In the Property inspector, make sure that the boxes for Loop and Autoplay are checked. Click Play to view the animation in Dreamweaver.

To view animation files in Dreamweaver, click Play. Click Stop when you are done testing.

Tip

You can resize animations by dragging their selection handles. Hold down the Shift key to constrain the proportions.

5.

Click Stop on the Property inspector. Save the file and preview it in the browser.

Autoplay causes the Flash animation to begin playing as soon as the page is loaded into the browser. The animation plays repeatedly because you chose Loop in the Property inspector.

Tip

Always be sure to select a SWF file when you insert a Flash animation. Do not insert FLA or.SWT files because they do not show up in a browser.





Macromedia Dreamweaver 8(c) Training from the Source
Macromedia Dreamweaver 8: Training from the Source
ISBN: 0321336267
EAN: 2147483647
Year: 2006
Pages: 326

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net