| Package | fl.transitions |
| Class | public class Iris |
| Inheritance | Iris Transition EventDispatcher Object |
| Language Version : | ActionScript 3.0 |
| Runtime Versions : | AIR 1.0, Flash Player 9 |
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 fl.transitions.Iris.SQUARE (a square) or fl.transitions.Iris.CIRCLE (a circle).
For example, the following code uses a circle-shaped animated mask transition for the movie clip
instance img1_mc:
import fl.transitions.*;
import fl.transitions.easing.*;
TransitionManager.start(img1_mc, {type:Iris, direction:Transition.IN, duration:2, easing:Strong.easeOut, startPoint:5, shape:Iris.CIRCLE});
See also
| Constant | Defined By | ||
|---|---|---|---|
| CIRCLE : String = "CIRCLE" [static]
Used to specify a circle mask shape for the transition effect. | Iris | ||
![]() | IN : uint = 0 [static]
Constant for the direction property that determines the type of easing. | Transition | |
![]() | OUT : uint = 1 [static]
Constant for the direction property that determines the type of easing. | Transition | |
| SQUARE : String = "SQUARE" [static]
Used to specify a square mask shape for the transition effect. | Iris | ||
| CIRCLE | Constant |
public static const CIRCLE:String = "CIRCLE"| Language Version : | ActionScript 3.0 |
| Runtime Versions : | AIR 1.0, Flash Player 9 |
Used to specify a circle mask shape for the transition effect.
| SQUARE | Constant |
public static const SQUARE:String = "SQUARE"| Language Version : | ActionScript 3.0 |
| Runtime Versions : | AIR 1.0, Flash Player 9 |
Used to specify a square mask shape for the transition effect.
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/fl/transitions/Iris.html