Project 2: Tweening a Landscape
There are a few different ways to add motion tweens to an FLA document, which you learn how to do in the following exercises. In this project, you add several kinds of motion tweens to an FLA file to animate an environment. Your motion tweens make the scene appear as if you are panning across it. At the end of this project, you add a stop action to stop the animation from repeatedly looping when the SWF file plays, and you also add a replay button. When you pan a subject, it means that you are horizontally scanning across the displayed image. Traditionally, this term refers to when a video camera moves the lens across a subject in this way. When you pan in Flash, it means you want to treat the Stage in the same way as a camera's viewfinder.This tutorial shows you how to pan a landscape to create the illusion of a panning environment in Flash. There are several parts of this scene that pan in different ways and at different speeds. Such a scene might have a foreground, middle ground, horizon, and sky or background. In this particular project, you will add grass in the foreground, a bird as a subject, mountains in the horizon, and clouds in the sky (created by the background). You also add a sun in the sky too, as seen in the following figure.
Figure 2.1. Optionally add a sun in the sky.
