Flash Script - Basic Motion Tween

Tuesday, January 26, 2010

Flash Script - Basic Motion Tween


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.

0 comments: