cm tutorials - learning flash basics - sort of - march 02

Macromedia Flash5


Introduction

The Interface

Flash Exercises:
   Layers
   Color
   Drawing
   Buttons
   Symbols
   Animating
   Sound

Saving and Publishing

Flash Examples

 

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:

  1. 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 5 will not work with older Flash players. You might have to download the newest player from http://www.macromedia.com/downloads/
  2. Generator Tab (.swt): For more information on Generator, go to
    http://www.macromedia.com/generator
  3. HTML Tab (.html): Flash creates an HTML document with the necessary code to embed your Flash movie and deliver it on the Web.
  4. GIF Tab (.gif): This format allow you to save an animated or still gifs, and gives you various optimization options.
  5. JPEG Tab (.jpg) : The tab that appears has image dimension and quality options you can set.
  6. 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.)
  7. 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.
  8. Macintosh Projector (.hqx): Appends Projector after the name of the file. Same as Windows Projector but for Macintosh.
  9. QuickTime Tab (.mov): Creates a QuickTime stand-alone video. An option tab will appear with Quicktime settings.
  10. 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.

TOP