Web
Article

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.

Meet the author
Georgina has more than fifteen years' experience writing and editing for web, print and voice. With a background in marketing and a passion for words, the time Georgina spent with companies like Sausage Software and sitepoint.com cemented her lasting interest in the media, persuasion, and communications culture.

No Reader comments

Recommended

Learn Coding Online
Learn Web Development

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

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