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:Array
All the currently running animations.
_framer | property |
protected static var _framer:Sprite
_now | property |
protected static var _now:Number
The current timestamp, accessable to all animations.
AnimationManager | () | constructor |
public function AnimationManager()
addDisplayAnimation | () | method |
public static function addDisplayAnimation(disp:DisplayObject):void
Track 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):void
Handle the ENTER_FRAME event.
Parametersevent:Event |
isPlaying | () | method |
public static function isPlaying(anim:Animation):Boolean
Test to see if the specified animation has been started and not stopped.
Parametersanim:Animation |
Boolean |
removeDisplayAnimation | () | method |
public static function removeDisplayAnimation(disp:DisplayObject):void
Stop tracking the specified DisplayObject animation.
Parametersdisp:DisplayObject |
start | () | method |
public static function start(anim:Animation):void
Start (or restart) the specified animation.
Parametersanim:Animation |
startDisplayAnim | () | method |
protected static function startDisplayAnim(event:Event):void
Parameters
event:Event |
stop | () | method |
public static function stop(anim:Animation):void
Stop the specified animation.
Parametersanim:Animation |
stopDisplayAnim | () | method |
protected static function stopDisplayAnim(event:Event):void
Parameters
event:Event |