Lesson 1

Create Motion Tween Animations 

 

OBJECTIVE:  In this lesson, you will create and edit motion tween animations.

 

Lesson:  Create a motion tween animation

 

Sample Solution

  1. Open fl4_1.fla from the Digital Design server folder
  2. Save it to your server folder as Fl_C4_L1_motionTw – this document has one drawn object – a car that has been converted to a symbol
  3. Click the Selection tool on the Tools panel, then click the car to select it
  4. Click Insert on the menu bar, then click Motion Tween – notice the tween span appears on the Timeline – the number of frames in the span equals the frames per second for the movie
  5. Verify the playhead is on the last frame of the tween span, then drag the car to the right side of the Stage – a motion path appears on the Stage with dots indicating the position of the object for each frame – a diamond symbol appears in frame 12 – this is a position keyframe automatically inserted at the end of the motion path – this assumes the document frame rate is set to 12 [Note:  To see the diamond symbol more clearly, move the playhead]
  6. Point to the end of the tween span, when the pointer changes to a double arrow, drag the tween span to frame 40
  7. Click frame 1 on the Timeline, then press the period key to move the playhead one frame at a time, and notice the position of the car for each frame
  8. Play the movie, then save your work

Summary:  You created a motion tween animation, extended the length of the animation, and viewed the position of the animated object in each frame of the animation.

 

Lesson:  Edit a motion tween

  1. Click the Selection tool on the Tools panel, then click a blank area of the Stage
  2. Click frame 1 on Layer 1
  3. Point to the middle of the motion path
  4. When the pointer changes to a pointer with an arc, drag the pointer down
  5. Play the movie, then click frame 1 on Layer 1
  6. Click the Subselection tool on the Tools panel, point to the end of the motion path, when the pointer changes into an arrow with a small square, click the end of path to display Bezier handles
  7. Point to the lower right handle, when the pointer changes into a delta symbol, drag the handle up and toward the center of the Stage to form a horizontal S shape
  8. Play the movie, then save your work

Summary:  You edited a motion path by using the Selection tool to drag the path and by using the Subselection tool to display and reposition Bezier handles.

 

Lesson:  Change the ease value of an animation

  1. Play the movie and notice that the car moves at a constant speed
  2. Display the Properties panel, then click frame 1 on Layer 1
  3. Point to the Ease value, when the pointer changes to a hand with a double arrow, drag the point tot the right to set the value at 100
  4. Play the movie – the car starts moving fast and slows down near the end of the animation – notice the word “out” is displayed next to the ease value in the Properties panel indicating that the object will ease out, slow down, at the end of the animation
  5. Click frame 1 on Layer 1
  6. Point to the Ease value in the Properties panel, then drag the pointer to the left to set the value to -100
  7. Play the movie – the car starts moving slowly and speeds up near the end of the animation – notice the word “in” is displayed next to the ease value in the Properties panel – also, notice the dots are grouped closer together at the beginning of the motion path indicating that the object does not move very far in that section of the path
  8. Set the ease value to 0
  9. Save your work

Summary:  You changed the ease out and ease in values of the animation.

 

Lesson:  Resize and reshape an object

  1. Click frame 1 on Layer 1
  2. Click the Selection tool, then click the car
  3. Point to the width value in the Properties panel, when the pointer changes to a hand with a double arrow, drag the pointer to the right to set the value to 80
  4. Play the movie
  5. Click frame 40 on Layer 1, then click the car
  6. Point to the width value in the Properties panel, when the pointer changes to a hand with a double arrow, drag the pointer to the left to set the value to 30
  7. Play the movie – the car starts out large and ends up small
  8. Click frame 20 on Layer 1
  9. Click the Free Transform tool in the Tools panel, then verify the Rotate and Skew option is selected
  10. Point to the top middle handle, when the pointer changes to a double line, drag the pointer to the right to skew the object – a skew keyframe appears in frame 20
  11. Play the movie, use the Undo command on the Edit menu to undo the skew, then save the movie [Note:  You may have to click the Undo command more than one time to undo the skew] – the skew keyframe is removed from frame 20

Summary:  You resized and skewed a motion tween object.

 

Lesson:  Create a color effect

  1. Click the Selection tool in the Tools panel
  2. Click frame 40 on Layer 1
  3. Click the car to select it
  4. Click the Style list arrow in the COLOR EFFECTS area of the Properties panel
  5. Click Alpha, then drag the slider to set the value to 0%
  6. Play the movie – notice the car slowly become transparent
  7. Reset the Alpha to 100%
  8. Click frame 40 on Layer 1
  9. Click the car to select it
  10. Click the Style list arrow in the COLOR EFFECT area of the Properties panel
  11. Click Advanced, then set the x R + value for Red to 100
  12. Play the movie – notice the car slowly changes to a shade of red – because the car is a symbol, it is one part (not a composite of pieces) – as a result changes made to the color value affect the entire car
  13. Set the x R + value back to 0, then save your work

Summary:  You changed the alpha and advanced color option for an object.

 

Lesson:  Orient an object to a path

  1. Play the movie – notice the car follows the path but it is not oriented to the path
  2. Click frame 1 on Layer 1
  3. Click the Orient to path check box in the ROTATION area of the Properties panel
  4. Click the Free Transform tool on the Tools panel, then verify the Rotate and Skew option near the bottom of the Tools panel is selected
  5. Point to the upper-right corner of the car, when the pointer changes into a circular arrow, rotate the front of the car so that it aligns with the path
  6. Click frame 40 on Layer 1, then rotate the back of the car so that it aligns with the path
  7. Play the movie – the car is oriented to the path – notice the diamond symbol in each Layer 1 frame – these are rotation keyframes that indicate the object will change in each frame as it rotates to stay oriented to the path
  8. Save your work, then close the document

 

Summary:  You oriented an object to a motion path and aligned the object with the path in the first and last frames of the motion tween.

Lesson:  Copy a motion tween

  1. Open fl4_2.fla from the Digital Design folder on the server
  2. Save it as Fl_C4_L1_tweenEdits_your username on your server folder, then play the movie
  3. Insert a new layer and name it biker2, then click frame 1 on the biker2 layer
  4. Verify the Selection tool is selected, drag the g_biker symbol from the Library panel tot eh Stage
  5. Click any frame on the tween span on the biker layer
  6. Click Edit on the menu bar, point to Timeline, then click Copy Motion
  7. Click the new instance of the biker, click Edit on the menu bar, point to Timeline, then click Paste Motion
  8. Play the movie, then hide the biker layer
  9. Click frame 1 on the biker2 layer, click the Free Transform tool on the Tools panel, then click the path to select it
  10. Click Modify on the menu bar, point to Transform, then click Flip Horizontal
  11. Use the arrow keys on the keyboard to position the path
  12. Click the biker object, click Modify on the menu bar, point to Transform, then click Flip Horizontal
  13. Use the Free Transform tool and the arrow keys to align the biker
  14. Play the movie, then save your work

Summary:  You copied a motion path to another object.

 

Lesson:  Rotate an object

  1. Click frame 1 on the biker2 layer, then display the Properties panel
  2. Point to the Rotate times value in the ROTATION area of the Properties panel, when the pointer changes to a hand with a double arrow, drag the pointer to the right to set the count to 1
  3. Verify the Direction is set to CW (Clockwise), then play the movie – the biker object rotates one time in a clockwise direction – look at the timeline – notice some of the keyframes have been removed from the motion tween span – this is because, as the biker rotates, he is no longer oriented to the path – motion tweens do not allow an object to be rotated and oriented to a path simultaneously since orienting an object to a path rotates the object in each frame along the path – you can use a classic tween to rotate and orient an object to a path at the same time – the remaining keyframes at the beginning and ending of the tween span were used to align the original biker to the ramp
  4. Click frame 1 on the biker2 layer, set the rotation count to 2, click the Direction list arrow, click CCW (Counter Clockwise), then play the movie
  5. Click Orient to path to select it – the rotate value is automatically set to no times (indicated by a - )
  6. Play the movie, then save your work

Summary:  You caused an object to rotate by setting the rotate value and specifying a rotation direction.

 

Lesson:  Remove a motion tween

  1. Unhide the biker layer, then play the movie
  2. Click anywhere on the tween span on the biker2 layer to select the path
  3. Click Insert on the menu bar, then click Remove Tween
  4. Click a blank area of the Stage, then notice that the blue highlight on the biker2 layer is gone
  5. Play the movie and notice that the biker on the biker2 layer is visible but it does not move
  6. Use the Undo command in the Edit menu to undo the Remove Tween process [Note:  You may need to select the Undo command more than one time]
  7. Click biker2 on the Timeline to select the layer
  8. Click the Delete icon  at the bottom of the Timeline to delete the biker2 layer that includes the motion tween
  9. Test the movie, then close the Flash Player window
  10. Save your work

Summary:  You removed an object’s motion tween, undid the action, then deleted a layer containing a motion tween and undid the action.

 

Lesson:  Work with multiple motion tweens

  1. Click frame 40 on the biker layer, then click the biker on the Stage
  2. Lock the biker layer, then add a new layer above the biker layer and name it bikeOffStage
  3. Click frame 40 on the bikeOffStage layer
  4. Click Insert  on the menu bar, point to Timeline, then click Keyframe
  5. Drag an instance of the g_biker symbol from the Library panel so it is on top of the biker on the Stage
  6. Use the Free Transform tool and the arrow keys on the keyboard to align the two biker objects
  7. Click frame 41 on the bikeOffStage layer, then insert a keyframe
  8. Use the arrow keys on the keyboard and the Free Transform tool to align the biker with the bottom of the ramp
  9. Click the Selection tool, then click the biker
  10. Click the View list arrow, then click 100%
  11. Click Insert on the menu bar, then click Motion Tween
  12. Click frame 45 on the bikeOffStage layer, then drag the biker off the Stage
  13. Test the movie, close the Flash Player window, save your work, then close the document

Summary:  You created a second motion tween for the movie.