Packageaway3d.events
Classpublic class AnimationStateEvent
InheritanceAnimationStateEvent Inheritance flash.events.Event

Dispatched to notify changes in an animation state's state.



Public Properties
 PropertyDefined By
  animationNode : AnimationNodeBase
[read-only] The animation node inside the animation state from which the event originated.
AnimationStateEvent
  animationState : IAnimationState
[read-only] The animation state object that is the subject of this event.
AnimationStateEvent
  animator : IAnimator
[read-only] The animator object that is the subject of this event.
AnimationStateEvent
Public Methods
 MethodDefined By
  
AnimationStateEvent(type:String, animator:IAnimator, animationState:IAnimationState, animationNode:AnimationNodeBase)
Create a new AnimatonStateEvent
AnimationStateEvent
  
clone():Event
[override] Clones the event.
AnimationStateEvent
Public Constants
 ConstantDefined By
  PLAYBACK_COMPLETE : String = playbackComplete
[static] Dispatched when a non-looping clip node inside an animation state reaches the end of its timeline.
AnimationStateEvent
  TRANSITION_COMPLETE : String = transitionComplete
[static]
AnimationStateEvent
Property Detail
animationNodeproperty
animationNode:AnimationNodeBase  [read-only]

The animation node inside the animation state from which the event originated.


Implementation
    public function get animationNode():AnimationNodeBase
animationStateproperty 
animationState:IAnimationState  [read-only]

The animation state object that is the subject of this event.


Implementation
    public function get animationState():IAnimationState
animatorproperty 
animator:IAnimator  [read-only]

The animator object that is the subject of this event.


Implementation
    public function get animator():IAnimator
Constructor Detail
AnimationStateEvent()Constructor
public function AnimationStateEvent(type:String, animator:IAnimator, animationState:IAnimationState, animationNode:AnimationNodeBase)

Create a new AnimatonStateEvent

Parameters
type:String — The event type.
 
animator:IAnimator — The animation state object that is the subject of this event.
 
animationState:IAnimationState — The animation node inside the animation state from which the event originated.
 
animationNode:AnimationNodeBase
Method Detail
clone()method
override public function clone():Event

Clones the event.

Returns
Event — An exact duplicate of the current object.
Constant Detail
PLAYBACK_COMPLETEConstant
public static const PLAYBACK_COMPLETE:String = playbackComplete

Dispatched when a non-looping clip node inside an animation state reaches the end of its timeline.

TRANSITION_COMPLETEConstant 
public static const TRANSITION_COMPLETE:String = transitionComplete