User Guide
1254 TransitionManager class
Description
A transition effect: Reveals the movie clip object by using randomly appearing or disappearing
rectangles in a checkerboard pattern.
This class is used by specifying
mx.transitions.PixelDissolve as a transObject.type
parameter for the TransitionManager class.
Example
The following code creates an instance of TransitionManager that applies the PixelDissolve
transition with ten
xSections and ten ySections. 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 2 seconds with no easing.
import mx.transitions.*;
import mx.transitions.easing.*;
TransitionManager.start(img1_mc, {type:PixelDissolve,
direction:Transition.IN, duration:2, easing:None.easeNone, xSections:10,
ySections:10});
Rotate transition
ActionScript Class Name mx.transitions.Rotate
Parameters
ccw A Boolean value: false for clockwise rotation; true for counter-clockwise rotation.
degrees An integer that indicates the number of degrees the object is to be rotated. The
recommended range is 1 to 9999. For example, a
degrees setting of 1080 would rotate the
object completely three times.
Description
A transition effect: Rotates the movie clip object.
This class is used by specifying
mx.transitions.Rotate as a transObject.type parameter
for the TransitionManager class.