Packagecom.pblabs.animation
Classpublic class AnimationEvent
InheritanceAnimationEvent Inheritance flash.events.Event

Event type used by the Animator class to indicate when certain playback events have happened.



Public Properties
 PropertyDefined By
  animation : Animator = null
The Animator that triggered the event.
AnimationEvent
Public Methods
 MethodDefined By
  
AnimationEvent(type:String, animation:Animator, bubbles:Boolean = true, cancelable:Boolean = false)
AnimationEvent
Public Constants
 ConstantDefined By
  ANIMATION_FINISHED_EVENT : String = ANIMATION_FINISHED_EVENT
[static] This event is dispatched by an Animator when the animation completely finishes.
AnimationEvent
  ANIMATION_REPEATED_EVENT : String = ANIMATION_REPEATED_EVENT
[static] This event is dispatched by an Animator when the animation has finished one iteration and is repeating.
AnimationEvent
  ANIMATION_RESUMED_EVENT : String = ANIMATION_RESUMED_EVENT
[static] This event is dispatched by an Animator when the animation is resumed after being manually stopped.
AnimationEvent
  ANIMATION_STARTED_EVENT : String = ANIMATION_STARTED_EVENT
[static] This event is dispatched by an Animator when the animation first starts.
AnimationEvent
  ANIMATION_STOPPED_EVENT : String = ANIMATION_STOPPED_EVENT
[static] This event is dispatched by an Animator when the animation is manually stopped.
AnimationEvent
Property Detail
animationproperty
public var animation:Animator = null

The Animator that triggered the event.

Constructor Detail
AnimationEvent()Constructor
public function AnimationEvent(type:String, animation:Animator, bubbles:Boolean = true, cancelable:Boolean = false)



Parameters
type:String
 
animation:Animator
 
bubbles:Boolean (default = true)
 
cancelable:Boolean (default = false)
Constant Detail
ANIMATION_FINISHED_EVENTConstant
public static const ANIMATION_FINISHED_EVENT:String = ANIMATION_FINISHED_EVENT

This event is dispatched by an Animator when the animation completely finishes.

ANIMATION_REPEATED_EVENTConstant 
public static const ANIMATION_REPEATED_EVENT:String = ANIMATION_REPEATED_EVENT

This event is dispatched by an Animator when the animation has finished one iteration and is repeating.

ANIMATION_RESUMED_EVENTConstant 
public static const ANIMATION_RESUMED_EVENT:String = ANIMATION_RESUMED_EVENT

This event is dispatched by an Animator when the animation is resumed after being manually stopped.

ANIMATION_STARTED_EVENTConstant 
public static const ANIMATION_STARTED_EVENT:String = ANIMATION_STARTED_EVENT

This event is dispatched by an Animator when the animation first starts.

ANIMATION_STOPPED_EVENTConstant 
public static const ANIMATION_STOPPED_EVENT:String = ANIMATION_STOPPED_EVENT

This event is dispatched by an Animator when the animation is manually stopped.