Showcase and discover digital art at yex

Follow Design Stacks

Subscribe to our free newsletter to get all our latest tutorials and articles delivered directly to your inbox!

Using the Tween and Transition Classes in Flash MX 2004

Using the Tween and Transition Classes in Flash MX 2004

When you install Macromedia Flash MX 2004, you acquire two powerful classes: the Tween class, and the Transition class. This article shows you how easy it is to use the Tween and Transition classes, even if you aren’t comfortable using ActionScript. You will use these classes with movie clips and V2 components to add animation easily to your SWF files.

Perhaps you have already used the classes without knowing it. If you create a slide presentation or form application with Flash MX Professional, you can select behaviors that add different kinds of transitions between slides, quite similar to when you create a PowerPoint presentation. You can add this functionality into a screen application using the Tween and Transition classes.

You can also use the Tween and Transition classes in exciting ways outside of a screens environment in Flash MX 2004 or Flash MX Professional 2004. For example, you can use the classes with the V2 component set, or with plain old movie clips. If you want to change the way a ComboBox component is animated, then you can use the Transition class to add some easing when the menu opens. You could also use the Tween and Transition classes, instead of using motion tweens on the Timeline or writing your own complex code, to create your own animated menu system.


To complete this tutorial you will need to install the following software and files:

Flash MX 2004 or Macromedia Flash MX Professional 2004

Prerequisite knowledge:

Basic knowledge of the Flash authoring environment and a basic knowledge of ActionScript.