Packagemx.effects.effectClasses
Classpublic class ActionEffectInstance
InheritanceActionEffectInstance Inheritance EffectInstance Inheritance EventDispatcher Inheritance Object
SubclassesAddChildActionInstance, RemoveChildActionInstance, SetPropertyActionInstance, SetStyleActionInstance

The ActionEffectInstance class is the superclass for all action effect instance classes.



Public Properties
 PropertyDefined by
 InheritedclassName : String
The name of the effect class, such as "FadeInstance".
EffectInstance
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
 Inheritedduration : Number
Duration of the effect in milliseconds.
EffectInstance
 Inheritedeffect : Effect
EffectInstance
 InheritedplayheadTime : Number
Current position in time of the effect.
EffectInstance
 InheritedpropertyChanges : PropertyChanges
EffectInstance
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
 InheritedrepeatCount : int
EffectInstance
 InheritedrepeatDelay : int
EffectInstance
 InheritedstartDelay : int
EffectInstance
 InheritedsuspendBackgroundProcessing : Boolean
EffectInstance
 Inheritedtarget : Object
EffectInstance
 InheritedtriggerEvent : Event
EffectInstance
Protected Properties
 PropertyDefined by
  playedAction : Boolean = false
Indicates whether the effect has been played (true), or not (false).
ActionEffectInstance
Public Methods
 MethodDefined by
  
Constructor.
ActionEffectInstance
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registers an event listener object with an EventDispatcher object so that the listener receives notification of an event.
EventDispatcher
 Inherited
Dispatches an event into the event flow.
EventDispatcher
 Inherited
end():void
Interrupts an effect instance that is currently playing, and jumps immediately to the end of the effect.
EffectInstance
 Inherited
Called by the end() method when the effect finishes playing.
EffectInstance
 Inherited
Called after each iteration of a repeated effect finishes playing.
EffectInstance
 Inherited
Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
EventDispatcher
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
This method is called if the effect was triggered by the EffectManager.
EffectInstance
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Pauses the effect until you call the resume() method.
EffectInstance
 Inherited
Plays the effect instance on the target.
EffectInstance
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Removes a listener from the EventDispatcher object.
EventDispatcher
 Inherited
Resumes the effect after it has been paused by a call to the pause() method.
EffectInstance
 Inherited
Plays the effect in reverse, starting from the current position of the effect.
EffectInstance
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Plays the effect instance on the target after the startDelay period has elapsed.
EffectInstance
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
 Inherited
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type.
EventDispatcher
Protected Methods
 MethodDefined by
  
Used internally to retrieve the values saved by the saveStartValue() method.
ActionEffectInstance
  
Subclasses implement this method to save the starting state before the effect plays.
ActionEffectInstance
Events
 EventSummaryDefined by
 Inherited Dispatched when Flash Player gains operating system focus and becomes active.EventDispatcher
 Inherited Dispatched when Flash Player loses operating system focus and is becoming inactive.EventDispatcher
Property detail
playedActionproperty
protected var playedAction:Boolean = false

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.

Constructor detail
ActionEffectInstance()constructor
public function ActionEffectInstance(target:Object)

Constructor.

Parameters
target:Object — The Object to animate with this effect.
Method detail
getStartValue()method
protected function getStartValue():*

Used internally to retrieve the values saved by the saveStartValue() method.

Returns
*
saveStartValue()method 
protected function saveStartValue():*

Subclasses implement this method to save the starting state before the effect plays.

Returns
*




Take a survey


 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/flex/201/langref/mx/effects/effectClasses/ActionEffectInstance.html