Fade transition

ActionScript Class Name mx.transitions.Fade

Description

A transition effect: Fades the movie clip object in or out.

This class is used by specifying mx.transitions.Fade as a transObject.type parameter for the TransitionManager class.

Example

The following code creates an instance of TransitionManager that applies the Fade transition. The content target of the transition is the movie clip img1_mc. The TransitionManager instance applies a direction of mx.transitions.Transition.IN over a duration of 3 seconds with no easing.

import mx.transitions.*;
import mx.transitions.easing.*;
TransitionManager.start(img1_mc, {type:Fade, direction:Transition.IN, duration:3, easing:None.easeNone});