Adding Keyframes

Keyframes

Keyframes are used to specify changes in the animation. At the current time, each layer in your movie is only one frame long. You want your movie to last 20 frames. Inserting a key-frame at Frame 20 will cause each layer to remain on the screen until Frame 20.

Extend the Sky Layer

Extend the Buildings Layer

Extend the Trees Layer


Create a Layer Named Car

Create a new layer. Name the layer Car.

Add the Car to the Stage

Motion Tween

Make the Car Move

Place the car to the left of the Stage. It should not be on the actual stage at all.

Adding Sound
To add lightning and thunder to your movie, you will need to import the graphic and the sound.

Add the Sound
Play the Movie

Add the animated lightning graphic following the directions above.

Stopping the Action

If you published your movie now, the car would start moving as soon as the viewer entered the screen. You want the viewer to click on a button to make the car move. In this exercise you will add some script to stop any action before the viewer clicks a button. Later, you will add a button for the viewer to click on to start the action.

Stop the Action

To stop the action:
Play the Movie
Take the Start Button from the Library
The Over Frame
The Down Frame
The Hit Frame
Test the Movie
The Text Tool

You need to put a label on the Start Button and add a title to the movie. You will use the Text tool for this.

Add Text to the Button

Add a Title/Create a Shape Tween

Test the Movie