|
Flash CS4 Resources |
Edit the motion path of a tweenYou can edit the motion path of a tween in the following ways:
You can use the Always Show Motion Paths option to show all motion paths on all layers on the Stage simultaneously. This display is helpful when designing multiple animations on different motion paths that intersect each other. When a motion path or tween span is selected, you can choose this option from the Property inspector options menu. Change the position of the tweened objectThe simplest way to edit a motion path is to move the target instance of the tween in any frame of the tween span. If the frame does not already contain a property keyframe, Flash adds one to it.
The motion path updates to include the new location. All other property keyframes in the motion path remain in their original locations. Change the location of a motion path on the StageYou can drag the entire motion path on the Stage or set its location in the Property inspector.
Note: To move the tween target instance and the motion path
by specifying a location for the motion path, select both and enter
the X and Y locations in the Property inspector. To move a tweened
object that has no motion path, select it and enter X and Y values
in the Property inspector.
Edit the shape of a motion path with the Selection and Subselection toolsWith the Selection and Subselection tools, you can reshape a motion path. With the Selection tool, you can reshape a segment by dragging. Property keyframes in the tween appear on the path as control points. With the Subselection tool, you can expose the control points and Bezier handles on the path that correspond to each position property keyframe. You can use these handles to reshape the path around the property keyframe points. When you create a non-linear motion path such as a circle, you can have the tweened object rotate as it moves along the path. To maintain a constant orientation relative to the path, select the Orient to Path option in the Property inspector. ![]() A tweened object not oriented to the motion path (left) and
oriented to the motion path (right). Edit a motion path with the Free Transform tool
Note: You can also perform free transforms on the path by
selecting it with the Subselection tool and then pressing the Control
(Windows) or Command (Macintosh) key. Pressing the key displays
the same controls as the Free Transform tool. You can then drag
to perform transforms while pressing the key.
Delete a motion path from a tween
Copy a motion path as a stroke
You can then paste the path into another layer as a stroke or as a motion path for another motion tween. Apply a custom stroke as a motion pathYou can apply a stroke from a separate layer or a separate timeline as the motion path for a tween. Use roving property keyframesA roving property keyframe is a keyframe that is not linked to a specific frame in the Timeline. Flash adjusts the position of roving keyframes so that the speed of motion is consistent throughout a tween. Roving keyframes are available only for the spatial properties X, Y, and Z. They are useful when you have edited a motion path on the Stage by dragging the tweened object to different locations in different frames. Editing motion paths this way often creates path segments in which the motion is faster or slower than the other segments. This is because the number of frames in the path segment is greater or smaller than other segments. Using roving property keyframes is helpful for making the speed of an animation consistent throughout a tween. When property keyframes are set to roving, Flash adjusts the position of the property keyframes in the tween span so that the tweened object moves the same distance in each frame of the tween. You can then use easing to adjust the movement so that the acceleration at the beginning and end of the tween has a realistic appearance. When you paste a custom path onto a tween, Flash sets the property keyframes to roving by default. To enable roving keyframes for an entire tween:
To enable roving for an individual property keyframe in a tween:
When property keyframes are set to roving, they appear as round dots instead of squares in the Motion Editor. Note: If you enable
roving keyframes for a tween span and then disable them, the keyframes
retain their locations in the span that resulted from enabling roving.
![]() A motion path with roving keyframes turned off. Note the uneven
distribution of frames, resulting in uneven speed of motion. ![]() The same motion path with roving keyframes turned on, resulting
in even distribution of frames along the path and even speed of
motion. |