User Guide

1252 TransitionManager class
Description
A transition effect: Slides the movie clip object in from a specified direction.
This class is used by specifying
mx.transitions.Fly as a transObject.type parameter for
the TransitionManager class.
Example
The following code creates an instance of TransitionManager that applies the Fly transition
with a
startPoint set to the bottom right (9). 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 an Elastic.easeOut
easing effect.
import mx.transitions.*;
import mx.transitions.easing.*;
TransitionManager.start(img1_mc, {type:Fly, direction:Transition.IN,
duration:3, easing:Elastic.easeOut, startPoint:9});
Iris transition
ActionScript Class Name mx.transitions.Iris
Parameters
startPoint An integer indicating a starting position; the range is 1 to 9:
Top Left, 1; Top Center: 2, Top Right, 3; Left Center, 4; Center, 5; Right Center, 6; Bottom
Left, 7; Bottom Center, 8, Bottom Right, 9.
shape A mask shape of either mx.transitions.Iris.SQUARE (a square) or
mx.transitions.Iris.CIRCLE (a circle).
Description
A transition effect: Reveals the movie clip object by using an animated mask of a square shape
or a circle shape that zooms in or out.
This class is used by specifying
mx.transitions.Iris as a transObject.type parameter for
the TransitionManager class.