A SERVICE OF

logo

Macromedia MAX 2005 - Anaheim, CA What’s New In Flash 8
147
Creating the Image Animation
In this section you'll create the tweened animation that transitions between images of each special.
When you've completed this section, the animation will play through without stopping. Later in the
tutorial, you'll add navigation and ActionScript that lets the user control the animation with the
device's Right soft key.
To create the animation you'll use a prebuilt movie clip that contains images of all the specials
arranged in a vertical column. You'll use a masking layer to make only one of the images visible.
Then you'll create a series of tweens that move the movie clip upward, so that a different image is
visible. The last image in the movie clip is a duplicate of the first one, so that the animation
sequence can return to its initial state after the user has viewed the final image. The following image
illustrates these concepts:
In the last section of the tutorial, you'll add ActionScript and user interface elements that let the user control the
animation sequence.
To create the image animation:
1. In the Timeline, select the keyframe on Frame 10 on the layer named Images.
2. Open the Library panel, and drag the symbol named Specials Images movie clip to the
Stage.
3. The rest of this tutorial refers to this movie clip simply as the images movie clip.
4. With the new movie clip instance selected, set the movie clip's x and y coordinates both to 0
in the Property inspector.
5. This aligns the top-left corner of the images movie clip with the top-left corner of the Stage.