Creating Flash Movies

Full-featured Flash movies are best created using Macromedia's Flash software. Obviously, it is beyond the scope of this tutorial to teach the ins and outs of Flash authoring, so I recommend using the tutorials that come with the software as well as support documents provided by Macromedia (http://www.macromedia.com/support/flash/). For an incredibly thorough tutorial of tutorials and reference material, check out Flash 5 Bible by Robert Reinhardt and Jon Warren Lentz (Hungry Minds, 2001).

File Formats

The Flash authoring tool saves information about a movie in a fla source file (also called a "Flash document" or "Flash editor document"). The fla file contains all the separate elements that make up the movie and its timeline information in a fully editable format.

When the movie is ready to go on the Web, it must be exported to swf format. The suffix originally stood for "Shockwave Flash," but in the face of confusion with Macromedia's Shockwave for Director format, Macromedia has changed its tune and now translates swf to "Small Web Format."

This new moniker is accurate. In the export process, the information from the original layered fla file is flattened down to one layer and one timeline. The resulting file packs a lot of multimedia punch in a size that is appropriate for the Web.

Flash Interface Basics

As noted earlier, it is beyond the scope of this tutorial to teach Flash. However, it is useful to be generally acquainted with the Flash authoring environment. Figure 26-1 shows the core features of the Flash interface as seen on a Macintosh (the Windows version is nearly the same). The following is a brief introduction to the way Flash handles multimedia content. Figure 26-1

Figure 26-1. The Flash interface

Optimizing Flash Movies

There are a number of measures you can take up front to make your swf compress as small as it can. The following are just a few tips:

It is a good idea to use Flash's Test Movie or Test Scene functions to check your movie's performance. The Bandwidth Profiler simulates various connection speeds. You can also generate size reports to check the size of media components within the movie (it may reveal elements that could be optimized better).

Configuring the Server

Although no special server software is necessary to serve standard Flash files, you will need to configure your server to recognize a new MIME type. The specific syntax for configuration varies for different servers, so coordinate with your system administrator and see Macromedia's site for further support information. The following information will suit the needs of most servers: