| Property | Defined by | ||
|---|---|---|---|
| _anims : Array [static] All the currently running animations.
| AnimationManager | ||
| _framer : Sprite [static]
| AnimationManager | ||
| _now : Number [static] The current timestamp, accessable to all animations.
| AnimationManager | ||
| Method | Defined by | ||
|---|---|---|---|
| AnimationManager | |||
|
addDisplayAnimation(disp:DisplayObject):void
[static]
Track a DisplayObject that is also an Animation- it will
automatically be started when added to the stage and
stopped when removed.
| AnimationManager | ||
|
[static]
Test to see if the specified animation has been started and not stopped.
| AnimationManager | ||
|
removeDisplayAnimation(disp:DisplayObject):void
[static]
Stop tracking the specified DisplayObject animation.
| AnimationManager | ||
|
[static]
Start (or restart) the specified animation.
| AnimationManager | ||
|
[static]
Stop the specified animation.
| AnimationManager | ||
| Method | Defined by | ||
|---|---|---|---|
|
frameHandler(event:Event):void
[static]
Handle the ENTER_FRAME event.
| AnimationManager | ||
|
startDisplayAnim(event:Event):void
[static]
| AnimationManager | ||
|
stopDisplayAnim(event:Event):void
[static]
| AnimationManager | ||
| _anims | property |
protected static var _anims:ArrayAll the currently running animations.
| _framer | property |
protected static var _framer:Sprite
| _now | property |
protected static var _now:NumberThe current timestamp, accessable to all animations.
| AnimationManager | () | constructor |
public function AnimationManager()
| addDisplayAnimation | () | method |
public static function addDisplayAnimation(disp:DisplayObject):voidTrack a DisplayObject that is also an Animation- it will automatically be started when added to the stage and stopped when removed.
Parametersdisp:DisplayObject |
| frameHandler | () | method |
protected static function frameHandler(event:Event):voidHandle the ENTER_FRAME event.
Parametersevent:Event |
| isPlaying | () | method |
public static function isPlaying(anim:Animation):BooleanTest to see if the specified animation has been started and not stopped.
Parametersanim:Animation |
Boolean |
| removeDisplayAnimation | () | method |
public static function removeDisplayAnimation(disp:DisplayObject):voidStop tracking the specified DisplayObject animation.
Parametersdisp:DisplayObject |
| start | () | method |
public static function start(anim:Animation):voidStart (or restart) the specified animation.
Parametersanim:Animation |
| startDisplayAnim | () | method |
protected static function startDisplayAnim(event:Event):voidParameters
event:Event |
| stop | () | method |
public static function stop(anim:Animation):voidStop the specified animation.
Parametersanim:Animation |
| stopDisplayAnim | () | method |
protected static function stopDisplayAnim(event:Event):voidParameters
event:Event |