by Adobe

Adobe logo


26 July 2011



User level


Required products

A transition is a simple animation that creates a transition effect for a display object being added to—or removed from—the screen. For example, you could use a fade-in or fade-out effect to create a smooth transition for an image as it's added to the Stage or removed from the Stage. ActionScript 3 provides the Tween and TransitionManager classes as easy-to-add transitions for your content.

The sample demonstrates many of transitions available while using the Tween and TransitionManager classes. Click the buttons to see how each transition affects the image.

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License. Permissions beyond the scope of this license, pertaining to the examples of code included within this work are available at Adobe.

More Like This


Time sample: Stopwatch timer

Media sample: Dynamic sound generation

Media sample: TLF text formatting using CSS

Media sample: Sound channels

Media sample: Image loading

Media sample: Dynamic text

Interactivity sample: Background scrolling

Media sample: Sound loading

Interactivity sample: Joystick-controlled movement

Game sample: Maze