Adobe Flash Professional CS6 Adobe Flash Professional CS6 Classroom In A Book | Page 146
3 Click OK.
Flash replaces the rocket ship with the alien. The motion remains the same, but
the target of the motion tween has been swapped.
P Note: You can also
swap instances in the
Properties inspector.
Select the object that
you want to swap
on the Stage. In the
Properties inspector,
click the Swap button.
In the dialog box
that appears, choose
a new symbol and
click OK. Flash will
swap the target of the
motion tween.
Creating nested Animations
Often, an object that is animated on the Stage will have its own animation. For
example, a butterfly moving across the Stage will have an animation of its wings
flapping as it moves. Or the alien that you swapped with the rocket ship could be
waving his arms. These kinds of animations are called nested animations, because
they are contained inside the movie clip symbols. Movie clip symbols have their
own Timeline that is independent of the main Timeline.
In this example, you’ll make the alien wave his arms inside the movie clip symbol,
so he’ll be waving as he moves across the Stage.
Creating animations inside movie clip symbols
1 In the Library panel, double-click the
alien movie clip symbol icon.
You are now in symbol-editing mode
for the alien movie clip symbol. The
alien is in the middle of the Stage. In
the Timeline, the parts of the alien
are separated in layers.
2 Choose the Selection tool.
Adobe FLAsh ProFessionAL Cs6 CLAssroom in A book
137