Flash Script – Basic Motion Tween

By Georgina Laidlaw

Download the sample files here.

You can create a motion tween using one of two methods:

  • Create the starting and ending keyframes for the animation, and use the Motion Tweening option in the Property inspector to create the effect.
  • Create the first keyframe for the animation, then insert the number of frames you want on the Timeline. Choose Insert > Create Motion Tween and move the object to the new location on the stage. In this case, Flash automatically creates the ending keyframe.

To create a motion tween:

1. Click a layer name to make it current.

2. Select an empty keyframe in the layer, create an object, and convert the object into symbol.

3. Create a second keyframe where you want the animation to end.

4. In the ending frame, do some modifications, such as moving an object’s position, changing its color, etc.

5. If the Property inspector is not visible, choose Window > Properties.

6. Select the first key frame. Choose Motion from the Tween pop-up menu in the Property inspector.

You’re done! Test the movie.

No Reader comments



Learn Coding Online
Learn Web Development

Start learning web development and design for free with SitePoint Premium!

Instant Website Review

Use Woorank to analyze and optimize your website to improve your website to improve your ranking!

Run a review to see how your site can improve across 70+ metrics!

Get the latest in Front-end, once a week, for free.