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

AnimationEvent is an Event dispatched to notify changes in an animation's state.

Public Properties
 PropertyDefined by
  animator : AnimatorBase
[read-only]
AnimatorEvent
  sequence : AnimationSequenceBase
[read-only] The SubGeometry object that is the subject of this event, if appropriate.
AnimatorEvent
Public Methods
 MethodDefined by
  
AnimatorEvent
(type:String, animator:AnimatorBase, sequence:AnimationSequenceBase = null)
Create a new GeometryEvent
AnimatorEvent
  
clone():Event
Clones the event.
AnimatorEvent
Public Constants
 ConstantDefined by
  SEQUENCE_DONE : String = "SequenceDone"
[static] Playback of the currently playing (non-looping) clip ended.
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
animator:AnimatorBase  [read-only]Implementation
    public function get animator():AnimatorBase
sequenceproperty 
sequence:AnimationSequenceBase  [read-only]

The SubGeometry object that is the subject of this event, if appropriate.

Implementation
    public function get sequence():AnimationSequenceBase
Constructor detail
AnimatorEvent()constructor
public function AnimatorEvent(type:String, animator:AnimatorBase, sequence:AnimationSequenceBase = null)Parameters
type:String — The event type.
 
animator:AnimatorBase — An optional SubGeometry object that is the subject of this event.
 
sequence:AnimationSequenceBase (default = null)
Init Parameters
Method detail
clone()method
public override function clone():Event

Clones the event.

Returns
Event — An exact duplicate of the current object.
Constant detail
SEQUENCE_DONEconstant
public static const SEQUENCE_DONE:String = "SequenceDone"

Playback of the currently playing (non-looping) clip ended.

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.

Wiki link
Click to go to the wiki page for 'away3d.events.AnimatorEvent'

Code examples

Comments