Event |
AnimationEvent |
The ‘AnimationEvent’ object extends upon the base ‘Event’ object by defining event type constants specific to animations, as well as offering getters for referencing the object and property being animated.
flash.events.Event
AnimationEvent | The ‘AnimationEvent’ object extends upon the base ‘Event’ object by defining event type constants specific to animations, as well as offering getters for referencing the object and property being animated. |
Constants | |
START | Event type constant for the ‘animationStart’ event. |
CHANGE | Event type constant for the ‘animationChange’ event. |
STOP | Event type constant for the ‘animationStop’ event. |
FINISH | Event type constant for the ‘animationFinish’ event. |
Variables | |
m_objTarget | A reference to the object whose property is being animated. |
m_strProperty | The property being animated. |
Functions | |
AnimationEvent | Constructor. |
Properties | |
animTarget | Getter for referencing the object whose property is being animated. |
animProperty | Getter for referencing the property being animated. |
public function AnimationEvent( strType: String, objTarget: Object = null, strProperty: String = "" )
Constructor.
param | strType The type of animation event. |
param | objTarget The object whose property is being animated. |
param | strProperty The property of the target object being animated. |
Event type constant for the ‘animationStart’ event.
public static const START: String
Event type constant for the ‘animationChange’ event.
public static const CHANGE: String
Event type constant for the ‘animationStop’ event.
public static const STOP: String
Event type constant for the ‘animationFinish’ event.
public static const FINISH: String
A reference to the object whose property is being animated.
protected var m_objTarget: Object
The property being animated.
protected var m_strProperty: String
Constructor.
public function AnimationEvent( strType: String, objTarget: Object = null, strProperty: String = "" )
Getter for referencing the object whose property is being animated.
public function get animTarget():Object
Getter for referencing the property being animated.
public function get animProperty():String