Say you work for a company that does custom auto refinishing. First assignment: Design an intro page for the company's new website. You have the following idea for an animation:
The first thing you want your audience to see is a beat-up jalopy limping along a city street toward the center of the screen, where it stops and morphs into a shiny, like-new car as your company's jingle plays in the background. A voice-over informs your audience that your company has been in business for 20 years and offers the best prices in town.
Across the top of the screen, you'd like to display the company logo, as well as a navigation bar with buttons—labeled Location, Services, Prices, and Contact—that your audience can click to get more information about your company. But you also want each part of the car to be a clickable hotspot. That way, when someone clicks one of the car's tires, he's whisked off to a page describing your custom wheels and hubcaps; when he clicks the car's body, he sees prices for dent repair and repainting; and so on.
Here's how you might go about creating this animation in Flash:
Using Flash's drawing tools, you draw the artwork for every keyframe of the animation—that is, every important image. For example, you'll need to create a keyframe showing the beat-up junker and a second keyframe showing the gleaming, expertly refurbished result. (Chapter 2 shows you how to draw artwork in Flash; Chapter 3 tells you everything you need to know about keyframes.)
Within each keyframe, you might choose to separate your artwork into different layers. Like the see-through plastic cels that professional animators used in the old days, layers let you create images separately and then stack them on top of one another to make a single composite image. For example, you might choose to put the car on one layer, your company logo on a second layer, and your city-street background on a third layer. That way, you can edit and animate each layer independently, but when the animation plays, all three elements appear to be on one seamless layer. (Chapter 4 shows you how to work with layers.)
Through a process called tweening, you tell Flash to fill in each and every frame between the keyframes to create the illusion of the junker turning slowly into a brand-new car. Flash carefully analyzes all the differences between the keyframes and does its best to build the interim frames, which you can then tweak or—if Flash gets it all wrong—redraw yourself. (Chapter 3 introduces tweens, and Chapter 8 gives you the lowdown on advanced techniques.)
As you go along, you might decide to save a few of the elements you create (for example, your company logo) so you can reuse them later. There's no sense in reinventing the wheel, and in addition to saving you time, reusing elements actually helps keep your animation files as small and efficient as possible. (See Chapter 7 for details on creating and managing reusable elements.)
Add the background music and voice-over audio clips, which you've created in other programs (Chapter 11).
Create the navigation bar buttons and hotspots and other ways for your audience to interact with your animation (Chapters Chapter 12–Chapter 18).
Test your animation (Chapter 19) and tweak it to perfection.
Finally, when your animation is just the way you want it, you're ready to publish it. Without leaving the comfort of Flash, you can convert the editable .fla file you've been working with into a noneditable .swf file and either embed it into an HTML file or create a standalone projector file that your audience can run without having to use a browser. Chapter 20 tells you everything you need to know about publishing.
The scenario described above is pretty simple, but it covers the basic steps you need to take when creating any Flash animation.