Tweening Motion Along a Path

Objectives:

  • Make your movement correspond to a path.

Tweening Motion Along a Path


What if you want your graphic of a rocket ship to do a loop in the air? You would think this would be really complicated. Flash has an easy way to do this: it's tweening motion along a path. Here's how you do it. You need to start by taking an object, converting it to a symbol, and then doing a regular motion tween just like you did before.Take a look at this example of two flying saucers. Here's another example of a plane swooshing down on a boat. Here's how to do it:

  1. Create a graphic on the screen.

  2. Insert > Convert to Symbol (graphic).

  3. Click on frame 20.

  4. Insert a Keyframe.

  5. Move your graphic across the screen.

  6. Click anywhere inside the graphic's timeline.

  7. Insert > Create Motion Tween.

  8. While the layer for your graphic is still selected, click
    Insert > Motion Guide.



  9. Draw a line using the pencil tool to represent the path you want your graphic to move along.

  10. Click the arrow tool. Select the Snap To Objects option.



  11. Drag your shape by the registration point, and move it to the beginning of the line. It should "snap" to it.



  12. Click at the end of the time line (frame 20). Drag the object to the end and snap it to the end of the line.

  13. Test your movie.

  14. To see your movie without the line showing, click the eyeball icon above in the motion path layer.

    Now, that takes care of one layer, but what if you want to have another layer in your movie that follows a motion path? You have to be careful because if you insert a new layer now, it will appear right above your first layer and right under the motion guide for the first layer. It will sandwhich itself in between the work you've done and will mess it all up. You will need to drag the new layer up above and then follow the motion path steps.



    An alternative way to approach this is to draw all your layers and then go back and add motion paths to each.

Project: Flying Objects


  1. Think of a movie scene scenario. Don't just make random shapes. Examples: birds leaving the nest or planes landing on a landing strip.

  2. Create a scene with at least five symbols. Each symbol needs its own layer.

  3. Make motion paths for each layer.

  4. Remember each layer does not have to start at the exact same point in the time line. Try staggering the layers.

    << Back to Skyline