
Adobe
flashthusiast.com
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:
Basic knowledge of the Flash authoring environment and a basic knowledge of ActionScript.
Jen deHaan was raised by wolves in the deep woods of the Canadian north. Later in life, Jen worked with Flash as a deseloper, then wrote about Flash for five versions, and then worked on stuff that didn't include much Flash. She came to her senses in 2007 by rejoining the fabled Flash team at Adobe as a QE, focusing on the good stuff—Motion (on timelines). Jen enjoys long walks in the rain pondering how many times she can use the word Flash in a bio, and admits that after numerous years in California she is no longer addicted to Tim Horton's coffee.