Macromedia Flash MX 2004 Course

Posted by on Friday 1 Oct 2004

Creating Shape Tweens

Shape tweens are similar to motion tweens, except they involve the morphing of one object into another. For example, a star shape might appear in the first keyframe, but is then replaced with a circle in the second keyframe. The tween gradually shows the star morphing into the circle. You can also change the properties of the two objects so color, size, Alpha value, etc., change during the animation.

To create a shape tween:

  1. On the Timeline, select the layer and frame where you want the animation to start. In a new Flash document, you can select the first frame of Layer 1.
  2. Place a starting object on the Stage. For example, you can use one of the tools on the Tools panel to draw a shape. Position it where you want the object to appear at the beginning of the animation.

  1. Insert a keyframe several frames away:

  1. Make sure the second keyframe is selected. For now, just move the object to a new position on the Stage.

  1. Give the object a new fill color.

  1. Select one of the frames between the two keyframes. In the Property Inspector, select Shape from the Tween menu:

A forward arrow now appears between the two keyframes. The frames are tinted green, indicating a shape tween:

  1. Move the playhead to see how the object changes color as it moves:

  1. Now, select the last keyframe and delete the graphic. Draw a circle in its place, using a different fill color from the starting graphic.

  1. Test the movie. Somewhere around frame 12, the graphic appears like this:

Adding Timeline Effects

Timeline effects are essentially pre-built animation settings that you can apply to text, graphics or button symbols. Effects include Blur, Drop Shadow, Expand and Eplode.

To add a Timeline effect to an object on the Stage:

  1. Select the object, like the shape below, which appears on the first frame of Layer 1.

  1. From the Insert menu, select Timeline Effects, then Effects, and then the effect you want to apply from the submenu.

A window for that effect opens, showing a preview:

  1. Experiment with the settings in the window until the preview shows the effect the way you want it. Then click OK.
  2. The effect is immediately applied to the object. Flash moves the object into what it calls an “effect graphic”, and moves the graphic and the tween to a new layer, which it names according to the effect:

Assets for the effect are placed into a folder in the library:

Congratulations!

Congratulations, you have completed the Macromedia Flash MX 2004 tutorial – part one.

Learnthat.com has a second part in the Macromedia Flash tutorial series here. You can learn about more advanced Macromedia Flash topics and building Flash applications.

Page 9 of 9« First...56789
Category: Internet, Software Applications Tags: , ,

One comments

  • debbie April 25, 2010 at 3:17 pm

    This has really helped me with Flash MX. I have a degree to make games and I’d like to make those click-n-drag onlines games now. I’m moving on to the rest of your flash tut’s; especially the Actionscript. Thank you.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>