ptg
256
Chapter 9
Classic tweens can be fine-tuned in the Property Inspector. When a
tweened frame is selected, a number of options are enabled that you
use to add complexity to your motion path. It is also where you remove
an applied classic tween. Set the tween to deal with scale, set rotation
direction and frequency, or apply inertia by easing in or out of the
motion. Additionally, you can set orientation and snapping when using a
motion guide. In Flash, you can customize easing in or out of a motion
using the Edit button in the Property Inspector.
Adjusting Classic
Tween Properties
Set Classic Tween Properties
Click the Window menu, and then
click Properties to open the
Property Inspector.
Select a keyframe with motion
tween applied.
Choose from the following
settings:
◆
Scale. Check this when you are
tweening scale changes.
◆
Rotate. Sets the direction and
frequency your object rotates.
◆
Orient To Path. Use this when
you have applied a motion
guide layer. This keeps your
Chapter 9 Animating with Classic Tweening
257
Set Ease Properties in a
Classic Tween
Click the Window menu, and then
click Properties to open the
Property Inspector.
Select a keyframe with motion
tween applied.
Click the Ease field, and then
select the setting to set the speed
at which your object eases in or
out of its motion.
A positive value eases in, a
negative value eases out. A zero
value evenly distributes motion
across each frame.
3
2
1
No Easing
Ease Out
Ease In
Motion is evenly distributed
across frames.
Most of the motion is applied to the beginning frames
so the object appears to slow down as it stops.
Most of the motion is applied
to the end frames so the object
appears to slowly accelerate.
Motion.
The frames, tween, and symbol
information are inserted to match
the original copied tween.
4
3
2
1
2
1
3
Motion pasted to instance
From the Library of Wow! eBook
ptg
Chapter 9 Animating with Classic Tweening
259
Paste Motion Tween Properties
Select the frames in the Timeline
with the motion tween you want to
copy.
Click the Edit menu, point to
Timeline, and then click Copy
Motion.
Select the symbol instance to
receive the copied motion tween.
Click the Edit menu, point to
Timeline, and then click Paste
Motion Special.
Choose from the following
settings:
to the target object.
Click OK.
6
5
4
3
2
1
6
5
Copying Motion As ActionScript 3.0
In addition to copying motion tweens in the Timeline, you can also copy
motion tweens to the Actions panel or use them as ActionScripts. To
accomplish this task, you use the Copy Motion As ActionScript com-
mand. This command copies the properties that define a motion tween
in the Timeline as ActionScript 3.0. These properties include Position,
Scale, Skew, Rotation, Transformation Point, Color, Blend Mode,
Orientation To Path, Cache As Bitmap Setting, Frame Labels, Motion
Guides, Custom Easing, and Filters. After you copy the properties, you
can apply them to another symbol in the Actions panel or in the source
files for the Flash document that uses ActionScript 3.0. To copy a
motion tween as ActionScript 3.0, select the frames in the Timeline with
the motion tween you want to copy, click the Edit menu, point to
Timeline, click Copy Motion As ActionScript 3.0, type the name of the
instance to attach the motion tween to, and then click OK. Flash gener-
ates ActionScript for the specific instance name. The code appears on
the Clipboard for use in the Actions Panel or other place.
For Your Information
From the Library of Wow! eBook
ptg
is maintained.
From the Library of Wow! eBook