Packagecom.boostworthy.events
Classpublic class AnimationEvent
InheritanceAnimationEvent Inheritance flash.events.Event

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.

See also

flash.events.Event


Public Properties
 PropertyDefined by
  animProperty : String
[read-only] Getter for referencing the property being animated.
AnimationEvent
  animTarget : Object
[read-only] Getter for referencing the object whose property is being animated.
AnimationEvent
Protected Properties
 PropertyDefined by
  m_objTarget : Object
A reference to the object whose property is being animated.
AnimationEvent
  m_strProperty : String
The property being animated.
AnimationEvent
Public Methods
 MethodDefined by
  
AnimationEvent(strType:String, objTarget:Object = null, strProperty:String = "")
Constructor.
AnimationEvent
Public Constants
 ConstantDefined by
  CHANGE : String = "animationChange"
[static] Event type constant for the 'animationChange' event.
AnimationEvent
  FINISH : String = "animationFinish"
[static] Event type constant for the 'animationFinish' event.
AnimationEvent
  START : String = "animationStart"
[static] Event type constant for the 'animationStart' event.
AnimationEvent
  STOP : String = "animationStop"
[static] Event type constant for the 'animationStop' event.
AnimationEvent
Property detail
animPropertyproperty
animProperty:String  [read-only]

Getter for referencing the property being animated.

Implementation
    public function get animProperty():String
animTargetproperty 
animTarget:Object  [read-only]

Getter for referencing the object whose property is being animated.

Implementation
    public function get animTarget():Object
m_objTargetproperty 
protected var m_objTarget:Object

A reference to the object whose property is being animated.

m_strPropertyproperty 
protected var m_strProperty:String

The property being animated.

Constructor detail
AnimationEvent()constructor
public function AnimationEvent(strType:String, objTarget:Object = null, strProperty:String = "")

Constructor.

Parameters
strType:String — The type of animation event.
 
objTarget:Object (default = null) — The object whose property is being animated.
 
strProperty:String (default = "") — The property of the target object being animated.
Constant detail
CHANGEconstant
public static const CHANGE:String = "animationChange"

Event type constant for the 'animationChange' event.

FINISHconstant 
public static const FINISH:String = "animationFinish"

Event type constant for the 'animationFinish' event.

STARTconstant 
public static const START:String = "animationStart"

Event type constant for the 'animationStart' event.

STOPconstant 
public static const STOP:String = "animationStop"

Event type constant for the 'animationStop' event.