Saving and Publishing in Flash
Saving Flash movies
To save your working site with all its layers, animations, etc. from the File menu, choose Save. Flash will save it as a Flash movie with a .fla extension. This is similar to Photoshop where you save your working site with all its layers, channels and text as a .psd file. Archive this file. When you're ready to show your creation to the world, you must publish or export your .fla file into a file format that will play back on the Web or be viewed as a still image or a series of images.
Publishing Flash movies on the World Wide Web
One of the most popular ways to make your multimedia project available to the world is by putting it on the World Wide Web. An easy way to accomplish this is by choosing Publish Settings from the File menu. The Publish command creates the Flash Player file (SWF) and the HTML document that inserts your Flash Player file into a Web browser.
To publish your Flash project, first click Publish then OK.
This dialog box gives you the opportunity to create different file formats -- GIF, JPEG, PNG, and QuickTime -- and the HTML needed to display them in the browser window. These alternative formats enable a browser to display your movie's animation and interactivity for users who don't have the Flash Player installed.
All of the publishing options (with the exception of the projectors) will have their own options tab in the Publish Settings dialog box. This allows you to choose the formats and adjust the settings for that particular file format. Flash will publish the authoring file in the selected formats, create additional files based on the selected settings, and store the settings with the movie file for reuse. (The Export Movie command generally matches those set for publishing, but it does not save the settings for reuse.)
When you test your movie, you are doing the same thing as publishing
the .swf file. When you export your movie, it will use the name of your
.fla file. Please remember this or you may overwrite a Flash movie you
don't want to. To protect yourself from doing this, choose Publish Settings
from the File menu. This displays the Settings dialog box where you can
check off the "Use Default Names" box and name each type of
file uniquely if you wish. They will automatically have different extensions.
There are 10 file formats available in the Publish Settings dialog box:
- Flash Tab (SwF): This is the file format you typically include in
an HTML document for the Web. The Web browser must have the Flash Player
or Shockwave player installed to view these movies.
Note: Some behaviors in Flash MX will not work with older Flash players. You might have to download the newest player from http://www.macromedia.com/downloads/
- HTML Tab (.html): Flash creates an HTML document with the necessary code to embed your Flash movie and deliver it on the Web.
- GIF Tab (.gif): This format allow you to save an animated or still gifs, and gives you various optimization options.
- JPEG Tab (.jpg) : The tab that appears has image dimension and quality options you can set.
- PNG Tab (.png): The tab that appears has various optimization options. (PNG is a new file format with a lot of promise, but is not supported by all browsers yet.)
- Windows Projector (.exe): This is a stand-alone Flash movie for Windows. If you save your Flash movie in this format, it will play on Windows systems even without the Flash Player or Shockwave plug-in because it's embedded in the file. This will be a considerably larger file than a SwF file.
- Macintosh Projector (.hqx): Appends Projector after the name of the file. Same as Windows Projector but for Macintosh.
- QuickTime Tab (.mov): Creates a QuickTime stand-alone video. An option tab will appear with Quicktime settings.
- RealPlayer Tab (.smil): An option tab will appear with RealPlayer options.
Typically, you will want to save your working file (.fla) and publish in .swf and .html formats.