• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 9. Animation with Motion Tweening > Animating Graphics That Change Size

Animating Graphics That Change Size

Flash can tween changes to the size of a graphic. To tween graphics that grow or shrink, you must check the Scale checkbox in the Frame panel.

To tween a growing and shrinking graphic:

1.
Create a new Flash document.

2.
On the Stage, create a new object in Frame 1.

3.
With Frame 1 selected, choose Insert > Create Motion Tween.

Flash turns your graphic into a symbol.

4.
To create a keyframe that defines the end of a growing sequence, in the Timeline, select Frame 5 and choose Insert > Keyframe.

Flash duplicates the symbol from Frame 1 in the new keyframe. The motion-tween arrow and color coding now appear in Frames 2 through 4.

5.
With Frame 5 as the current frame, select your graphic and make it bigger.

(For detailed instructions on resizing graphics, see Chapter 3.)

6.
In the Timeline, select any of the frames in the first keyframe unit (Frame 1, 2, 3, or 4).

7.
In the Frame panel, make sure that the Tweening property is set to Motion.

8.
Check the Scale checkbox.

Flash increases the size of your graphic in equal steps from Frame 1 to Frame 5 (Figure 9.13).

Figure 9.13. To tween a growing graphic, make the graphic in the end keyframe of the sequence larger than the graphic in the first keyframe of the sequence.


9.
To add an ending keyframe for a shrinking sequence, in the Timeline, select Frame 10, and choose Insert > Keyframe.

Flash duplicates the symbol from Frame 5 in the new keyframe. The motion-tween arrow and color coding now appear in Frames 6 through 9. All the motion-tween parameters you set in the Frame panel continue in force.

10.
With Frame 10 as the current frame, select your graphic and make it smaller.

Flash creates a tween that shrinks your graphic in five equal steps (Figure 9.14).

Figure 9.14. To tween a shrinking graphic, make it smaller in the end keyframe of the sequence. Turn on onion-skin mode to see the size of the graphic Flash creates for each in-between frame.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint