Mr. Truncale - Robert E. Lee High School
  • Home
  • Digital Media
    • HTML
  • Video Game Design
  • Comp. Programming I
  • Comp. Programming II
  • AP Computer Science
  • 3D Printing
  • Teacher Resources
  • Contact Me

Flash Lesson 4


Lesson Objective

Flash™ is primarily known for its ability to make animations. In this lesson, you will learn how to make a Motion Tween, a Shape Tween, and a Frame by Frame animation.

Skills Learned


Stage Magnification, Line Tool, Selection Tool, Pencil Tool, Paint Bucket Tool, Oval Tool, Brush Tool, Free Transform Tool, Rectangle Tool, Polystar Tool

Resources Needed

None


1


Open a new document in Actionscript 3.0. 

In your properties panel, set the document size to 600 pixels (width) by 400 pixels (height).  

Set your Frames per Second(fps) to 30. 

Save your document as FlashAnimation.fla.

2


Choose the Oval Tool .  Match your properties panel settings to those shown at the right. 

Hold the shift key down and draw a small circle in the top left corner of your document. 

Picture

3


Follow the steps in the animated demo at the right to create a bouncing ball using a motion tween.

Status check below

4


As you can see in the status check above, the ball is moving rather quickly.  To slow it down, as seen in the animated demo at the right, click above layer 1 around number label 7.  Press the F5 key 15 times.  Then press anywhere in the number labels later than 30 and press the F5 key another 15 times. 

You have effectively doubled the length of your timeline, giving the ball twice as much time to travel the same distance.  Therefore, your ball is now moving more slowly.


Video

5


You can also change the postion of the ball at any time.  As seen in the animated demo at the right. Click on number label 30, then move the ball from the bottom center of the stage towards the bottom left corner. 

Click on number label 60.  Move the ball from the top right corner to the top center.

Press the Enter key and your animation should look similar to the status check below.

Video
Just beneath the Layer Names is the Insert Layer Button , click on it.  Double-click on the new layer's name and change it to Shape Tween.

Change the first layer's name to Motion Tween.

With the Shape Change layer selected, follow the steps in the animated demo at the right to make a shape tween.
Video

6


Click on the Insert Layer Button .  Name the new layer Frame by Frame. 

Using the Line Tool  and the Oval Tool , draw a stick man on the right hand side of the document. 

When using the line tool, match your properties to those shown at the right.

Be sure the stick man has his arms hanging to his side and that his arms include 3 parts (the hand, forearm, and upper arm). 

 

Compare your document to the status check below.


Picture
Picture

7


Right-click in frame 10 of the Stick Man layer and choose Insert Keyframe.  Click on the Selection Tool  and then click on the stage to deselect the stick man.  Click on various parts of the stick man.  Notice that it is possible to select its individual segments.

Making sure you still have frame 10 of the stick man layer selected, select and move the right arm upward.  Be certain to move the three parts of the arm (hand, forearm, upper arm) individually. 

Video

8


You will make your stick man raise his arm and wave.  To do this, repeat the process from the previous step between 20 and 40 times. 

Keyframes will need to be placed in each of the remaining frames. 

When finished, your animation should look similar to the status check below.

TIP: It's best to zoom in while working (Ctrl and +).



TURN IN
Robert E. Lee High School
1809 Market
Baytown, TX 77520
281-420-4535
digital media | computer programming I and II | BIM
ap computer science | architectural cad | video game design
national technical honor society | contact me