Packageaway3d.events
Classpublic class AnimatorEvent
InheritanceAnimatorEvent Inheritance flash.events.Event

Passed as a parameter when an animator event occurs



Public Properties
 PropertyDefined By
  animator : Animator
A reference to the animation object that is relevant to the event.
AnimatorEvent
Public Methods
 MethodDefined By
  
AnimatorEvent(type:String, animator:Animator)
Creates a new AnimationEvent object.
AnimatorEvent
  
clone():Event
[override] Creates a copy of the AnimationEvent object and sets the value of each property to match that of the original.
AnimatorEvent
Public Constants
 ConstantDefined By
  CYCLE : String = cycle
[static] Defines the value of the type property of a cycle event object.
AnimatorEvent
  ENTER_KEY_FRAME : String = enterKeyFrame
[static] Defines the value of the type property of a enterKeyFrame event object.
AnimatorEvent
  SEQUENCE_DONE : String = sequenceDone
[static] Defines the value of the type property of a sequenceDone event object.
AnimatorEvent
  SEQUENCE_UPDATE : String = sequenceUpdate
[static] Defines the value of the type property of a sequenceUpdate event object.
AnimatorEvent
  START : String = start
[static] Defines the value of the type property of a start event object.
AnimatorEvent
  STOP : String = stop
[static] Defines the value of the type property of a stop event object.
AnimatorEvent
Property Detail
animatorproperty
public var animator:Animator

A reference to the animation object that is relevant to the event.

Constructor Detail
AnimatorEvent()Constructor
public function AnimatorEvent(type:String, animator:Animator)

Creates a new AnimationEvent object.

Parameters
type:String — The type of the event. Possible values are: AnimationEvent.CYCLE, AnimationEvent.SEQUENCE_UPDATE and AnimationEvent.SEQUENCE_DONE.
 
animator:Animator — A reference to the animation object that is relevant to the event.
####INIT####
Method Detail
clone()method
override public function clone():Event

Creates a copy of the AnimationEvent object and sets the value of each property to match that of the original.

Returns
Event
Constant Detail
CYCLEConstant
public static const CYCLE:String = cycle

Defines the value of the type property of a cycle event object.

ENTER_KEY_FRAMEConstant 
public static const ENTER_KEY_FRAME:String = enterKeyFrame

Defines the value of the type property of a enterKeyFrame event object.

SEQUENCE_DONEConstant 
public static const SEQUENCE_DONE:String = sequenceDone

Defines the value of the type property of a sequenceDone event object.

SEQUENCE_UPDATEConstant 
public static const SEQUENCE_UPDATE:String = sequenceUpdate

Defines the value of the type property of a sequenceUpdate event object.

STARTConstant 
public static const START:String = start

Defines the value of the type property of a start event object.

STOPConstant 
public static const STOP:String = stop

Defines the value of the type property of a stop event object.