Packageaway3d.events
Classpublic class AnimationEvent
InheritanceAnimationEvent Inheritance flash.events.Event

Passed as a parameter when an animation event occurs

Public Properties
 PropertyDefined by
  animation : Animation
A reference to the animation object that is relevant to the event.
AnimationEvent
Public Methods
 MethodDefined by
  
AnimationEvent
(type:String, animation:Animation)
Creates a new AnimationEvent object.
AnimationEvent
  
clone():Event
Creates a copy of the AnimationEvent object and sets the value of each property to match that of the original.
AnimationEvent
Public Constants
 ConstantDefined by
  CYCLE : String = "cycle"
[static] Defines the value of the type property of a cycle event object.
AnimationEvent
  SQUENCE_DONE : String = "squencedone"
[static] Defines the value of the type property of a sequence done event object.
AnimationEvent
  SQUENCE_UPDATE : String = "squenceupdate"
[static] Defines the value of the type property of a sequence update event object.
AnimationEvent
Property detail
animationproperty
public var animation:Animation

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

Constructor detail
AnimationEvent()constructor
public function AnimationEvent(type:String, animation:Animation)Parameters
type:String — The type of the event. Possible values are: AnimationEvent.CYCLE, AnimationEvent.SQUENCE_UPDATE and AnimationEvent.SQUENCE_DONE.
 
animation:Animation — A reference to the animation object that is relevant to the event.
####INIT####
Method detail
clone()method
public override 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.

SQUENCE_DONEconstant 
public static const SQUENCE_DONE:String = "squencedone"

Defines the value of the type property of a sequence done event object.

SQUENCE_UPDATEconstant 
public static const SQUENCE_UPDATE:String = "squenceupdate"

Defines the value of the type property of a sequence update event object.

Wiki link
Click to go to the wiki page for ####WIKI####

Code examples

Comments