| 包 | flash.events |
| 类 | public final class ThrottleType |
| 继承 | ThrottleType Object |
| 语言版本: | ActionScript 3.0 |
| 运行时版本: | Flash Player 11, AIR 3.2 |
state 属性提供值。
目前以下平台支持减速和暂停:Flash Player Desktop Mac 和 Windows、AIR Mobile 以及 Flash Player Android。以下平台不会自动调度 ThrottleEvent,因为它们尚不支持暂停或节流:AIR for TV 设备、用于台式机的 AIR 以及 Flash Player Linux Desktop。
相关 API 元素
公共常量
| 常量 | 由以下参数定义 | ||
|---|---|---|---|
| PAUSE : String = "pause" [静态]
此常量用于 ThrottleEvent 类中的 status 属性。 | ThrottleType | ||
| RESUME : String = "resume" [静态]
此常量用于 ThrottleEvent 类中的 status 属性。 | ThrottleType | ||
| THROTTLE : String = "throttle" [静态]
此常量用于 ThrottleEvent 类中的 state 属性。 | ThrottleType | ||
常量详细信息
PAUSE | 常量 |
public static const PAUSE:String = "pause"| 语言版本: | ActionScript 3.0 |
| 运行时版本: | Flash Player 11, AIR 3.2 |
此常量用于 ThrottleEvent 类中的 status 属性。使用语法 ThrottleType.PAUSE。
相关 API 元素
RESUME | 常量 |
public static const RESUME:String = "resume"| 语言版本: | ActionScript 3.0 |
| 运行时版本: | Flash Player 11, AIR 3.2 |
此常量用于 ThrottleEvent 类中的 status 属性。使用语法 ThrottleType.RESUME。
相关 API 元素
THROTTLE | 常量 |
public static const THROTTLE:String = "throttle"| 语言版本: | ActionScript 3.0 |
| 运行时版本: | Flash Player 11, AIR 3.2 |
此常量用于 ThrottleEvent 类中的 state 属性。使用语法 ThrottleType.THROTTLE。
相关 API 元素
Tue Jun 12 2018, 11:04 AM Z
隐藏继承的公共属性
显示继承的公共属性