Foundation Flash 8 Video
by Tom Green and Jordan Chilcott

Excerpted from “Foundation Flash 8 Video” by Tom Green and Jordan Chilcott
© 2006. Used with the permission of friends of ED, a division of Apress. To purchase this book, please visit www.friendsofed.com.
by Tom Green and Jordan Chilcott
When Adobe® acquired Macromedia in December 2005, they also acquired Flash®. Though the industry reacted to the news rather indifferently, several developers saw the integration of Flash with Adobe After Effects® as a major development. At the same time that Flash becomes a viable web video creative tool, the company that produces one of the hottest video effects tools out there acquires the product. To think they will exist in separate product solitudes is a huge mistake. These two applications were made for each other and, finally, they are living under the same roof, so to speak.
After Effects 7.0 is the latest iteration of the application, and it sports a spiffy, easier-to-use interface; improved performance; and a number of other features that are too extensive to get into here. Instead, this tutorial is designed to give you, the Flash developer or designer, an idea of some of the techniques and tools you can use when looking to incorporate video into your Flash projects.
This tutorial is not designed to teach you how to use After Effects but to start looking at the possibilities in front of you. We are not going to claim that After Effects 7.0 is simple to use and master. It isn’t—but it is rather important to note that the learning curve for After Effects, in many respects, matches that of Flash. It is steep to start with but once you get the fundamentals under your belt, you will discover that After Effects and Flash are quite the unbeatable creative combination.
Finally, attempting to cover the gamut of motion graphics and where After Effects 7.0 and Flash Professional 8 fit into the picture is a rather tall order and simply can’t be done in one tutorial. Instead think of this as a source of ideas and the start of a rather interesting journey. Download fire_escapes.zip and let’s get going.
In this exercise you will deal with a rather common design problem: fitting a text effect into a defined area of the stage rather than using the whole stage for the effect.
Obviously, using the entire Stage size—550 pixels wide by 400 pixels high—for the text effect in After Effects would be like using an atom bomb to light your barbeque grill. There is far too much Stage space being used for a small text area. Instead, if you select the image, you will notice in the Property inspector that the image (see Figure 1) is 300 pixels wide by 400 pixels high. Subtract that width from the Stage width, and you only need an area that is 250 pixels wide. The animation will leave the title at the mid-point of the area, meaning you don’t need the full Stage height for the animation. The final result is an animation that will fit into a Stage area that is 250 pixels wide by 200 pixels high, which also tells you the dimension used for the comp in After Effects.
Figure 1: Use the dimensions of the blank area of the Stage to determine the comp size in After Effects 7.0.
Click OK to close the New Composition dialog box.
The settings match the dimensions determined earlier. You don’t need to lock the aspect ratio because this will not result in a video file and it is a good habit to match the comp’s frame rate to that of the Flash movie.
Though we suggest the Times font, feel free to use Times New Roman or another serif font. In the example, we used Times Bold. If you have this font or are using one containing the word Bold or Heavy in the font’s name, you should leave the Style at Regular. Setting the Style to Bold will only make the words less legible and readable.
Figure 2: The text is formatted.
When you drag the preset on to the text, a symbol will appear over where the text had been. When you release the mouse, the Effect Controls panel will open in the Project panel. We aren’t going to play with any of the values here so you can ignore it. If you want to test the effect, click the play button in the Time Controls panel or press the spacebar. When you finish, rewind the comp to the start.
Your text block stretches quite a distance (see Figure 3) above the comp window. You don’t need that wasted space. Here’s how to fix it.
Figure 3: The starting position for the effect is changed.
Now that the animation’s start and end points have been set, you can turn your attention to reducing the duration of the movie and speeding things up.
Figure 4: Preparing to trim the comp to the work area.
Figure 5: It is raining houses in New York.