- Getting started
- About animation
- Understanding the project file
- Animating position
- Changing the pacing and timing
- Animating transparency
- Animating filters
- Animating transformations
- Editing multiple frames
- Changing the path of the motion
- Swapping tween targets
- Creating nested animations
- Easing
- Frame-by-frame animation
- Animating 3D motion
- Exporting your final movie
- Review questions
- Review answers
Changing the path of the motion
The motion tween of the left car that you animated shows a colored line with dots indicating the path of the motion. You can easily edit the path of the motion to make the car travel in a curve, or you can move, scale, or rotate the path just like any other object on the Stage.
To better demonstrate how you can edit the path of the motion, open the sample file 03MotionPath.fla in the Lesson03/03Start folder. The file contains a single tween layer with a rocket ship moving from the top left of the Stage toward the bottom right.
Moving the path of the motion
You will move the path of the motion so that the relative movement of the rocket ship remains the same but its starting and ending positions change.
Select the Selection tool.
Click the path of the motion to select it.
The path of the motion becomes highlighted.
Drag the motion path to move it to a different place on the Stage.
The relative motion and timing of the animation remain the same, but the starting and ending positions are relocated.
Changing the scale or rotation of the path
You can also manipulate the path of the object’s motion using the Free Transform tool.
Select the path of the motion.
Select the Free Transform tool.
Transformation handles appear around the path of the motion.
Scale or rotate the path of the motion as desired. You can make the path smaller or larger or rotate the path so that the rocket ship starts from the bottom left of the Stage and ends at the top right.
Editing the path of the motion
Making your objects travel on a curved path is a simple matter. You can edit the path with Bezier precision using anchor point handles, or you can edit the path in a more intuitive manner with the Selection tool.
Select the Convert Anchor Point tool, which is hidden under the Pen tool.
Drag from the starting point and the ending point of the motion path on the Stage to pull control handles out from each anchor point.
The handles on the anchor points control the curvature of the path.
Select the Subselection tool.
Drag the handles at either end of the path to edit its curve. Make the rocket ship travel in a wide curve.
Orienting objects to the path
Sometimes the orientation of the object traveling along the path is important. In the motion picture promotional project, the orientation of the car is constant as it moves forward. However, in the rocket ship example, the rocket ship should follow the path with its nose pointed in the direction in which it is heading. Orient To Path in the Properties panel gives you this option.
Select the motion tween on the timeline (Shift-click to select the whole tween).
In the Properties panel, under the Tweening section, select the Orient To Path option.
Animate inserts keyframes for rotation along the motion tween to orient the nose of the rocket ship to the path of the motion.