套件 | mx.effects.effectClasses |
類別 | public class ActionEffectInstance |
繼承 | ActionEffectInstance EffectInstance EventDispatcher Object |
子類別 | AddActionInstance, AddChildActionInstance, AddItemActionInstance, CallActionInstance, RemoveActionInstance, RemoveChildActionInstance, RemoveItemActionInstance, SetActionInstance, SetPropertyActionInstance, SetStyleActionInstance, UnconstrainItemActionInstance |
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
保護屬性
屬性 | 定義自 | ||
---|---|---|---|
playCount : int = 0
Number of times that the instance has been played. | EffectInstance | ||
playedAction : Boolean = false
Indicates whether the effect has been played (true),
or not (false). | ActionEffectInstance |
公用方法
方法 | 定義自 | ||
---|---|---|---|
ActionEffectInstance(target:Object)
Constructor. | ActionEffectInstance | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
會在 EventDispatcher 物件註冊事件偵聽程式,以便讓偵聽程式收到事件的通知。 | EventDispatcher | ||
會將事件傳送到事件流程。 | EventDispatcher | ||
Interrupts an effect instance that is currently playing,
and jumps immediately to the end of the effect. | EffectInstance | ||
Called by the end() method when the effect
finishes playing. | EffectInstance | ||
Called after each iteration of a repeated effect finishes playing. | EffectInstance | ||
會檢查 EventDispatcher 物件是否有對特定的事件類型註冊偵聽程式。 | EventDispatcher | ||
指出物件是否有已定義的指定屬性。 | Object | ||
This method is called if the effect was triggered by the EffectManager. | EffectInstance | ||
指出 Object 類別的實體是否位於指定為參數的物件原型鏈中。 | Object | ||
Pauses the effect until you call the resume() method. | EffectInstance | ||
Plays the effect instance on the target. | EffectInstance | ||
指出指定的屬性是否存在,以及是否可列舉。 | Object | ||
會從 EventDispatcher 物件移除偵聽程式。 | EventDispatcher | ||
Resumes the effect after it has been paused
by a call to the pause() method. | EffectInstance | ||
Plays the effect in reverse, starting from
the current position of the effect. | EffectInstance | ||
為迴圈作業設定動態屬性的可用性。 | Object | ||
Plays the effect instance on the target after the
startDelay period has elapsed. | EffectInstance | ||
Stops the effect, leaving the target in its current state. | EffectInstance | ||
傳回代表此物件的字串,根據地區特定慣例進行格式化。 | Object | ||
會傳回指定之物件的字串形式。 | Object | ||
會傳回指定之物件的基本值。 | Object | ||
檢查此 EventDispatcher 物件是否已註冊事件偵聽程式,或者此物件的任何祖系已為特定事件類型註冊事件偵聽程式。 | EventDispatcher |
保護方法
方法 | 定義自 | ||
---|---|---|---|
Returns the starting state value that was saved by the
saveStartValue() method. | ActionEffectInstance | ||
Subclasses implement this method to save the starting state
before the effect plays. | ActionEffectInstance |
屬性詳細資訊
playedAction | 屬性 |
protected var playedAction:Boolean = false
語言版本: | ActionScript 3.0 |
產品版本: | Flex 3 |
執行階段版本: | Flash Player 9, AIR 1.1 |
Indicates whether the effect has been played (true
),
or not (false
).
The play()
method sets this property to
true
after the effect plays;
you do not set it directly.
建構函式詳細資料
ActionEffectInstance | () | 建構函式 |
方法詳細資訊
getStartValue | () | 方法 |
saveStartValue | () | 方法 |
Tue Jun 12 2018, 03:47 PM Z