|
When you are satisfied with appearance
of your intro it is time to publish it so that animation could be
used at your site. Flash publishes animation in files of .SWF
format, which is not editable, and others will not be able to use
your work. .SWF files are embedded in HTML page much like .GIF or
.JPEG files - with a help of special HTML tag. However, the
syntax is more complex, hence this tag is also responsible for
timely download of flash player if one is needed. To make
things easy, Flash also exports a page with a snippet of animation
embedding code you can cut and paste from the exported file and to
your page. The sub steps provide more details:
3.1. Make sure that File>Publish
Settings are set up correctly: go to Formats tab and check
Flash and HTML boxes. You will not need the others so uncheck them.
Click OK.
3.2. Select File>Publish and see new
files (.HTML and .SWF) created in the same folder as your .FLA file.
3.3. Open the .HTML file in a text
editor and copy the <OBJECT>…</ OBJECT> tag that may look like this:
Text like this taken from the
exported file should appear in HTML code of your page where you want
the animation to be played. .SWF file must also be present on server
and available via path specified in SRC attribute of EMBED tag.
This concludes Flash Intro tutorial. However, there is much
more to Flash animation than this. If you want to improve your
flash skill, here are two very good places to start:
www.flashkit.com and
www.macromedia.com/desdev/mx/blueprint. |