| 包 | fl.transitions |
| 类 | public class Iris |
| 继承 | Iris Transition EventDispatcher Object |
| 语言版本 : | ActionScript 3.0 |
| Player 版本 : | Flash Player 9 |
startPoint:一个指示起始位置的整数;范围是 1 到 9:左上:1;上中:2;右上:3;左中:4;中心:5;右中:6;左下:7;下中:8;右下:9。shape:为 fl.transitions.Iris.SQUARE(方形)或 fl.transitions.Iris.CIRCLE(圆形)的遮罩形状。
例如,下列代码对影片剪辑实例 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});
另请参见
| 常量 | 定义方 | ||
|---|---|---|---|
| CIRCLE : String = "CIRCLE" [static]
用于为过渡效果指定圆形遮罩。
| Iris | ||
![]() | IN : uint = 0 [static]
对于确定缓动类型的 direction 属性是常数。
| Transition | |
![]() | OUT : uint = 1 [static]
对于确定缓动类型的 direction 属性是常数。
| Transition | |
| SQUARE : String = "SQUARE" [static]
用于为过渡效果指定方形遮罩。
| Iris | ||
| CIRCLE | 常量 |
public static const CIRCLE:String = "CIRCLE"
| 语言版本 : | ActionScript 3.0 |
| Player 版本 : | Flash Player 9 |
用于为过渡效果指定圆形遮罩。
| SQUARE | 常量 |
public static const SQUARE:String = "SQUARE"
| 语言版本 : | ActionScript 3.0 |
| Player 版本 : | Flash Player 9 |
用于为过渡效果指定方形遮罩。
当前页: http://livedocs.adobe.com/flash/9.0_cn/ActionScriptLangRefV3/fl/transitions/Iris.html