Int |
delay
Interval delay in milliseconds, defaults to fastest possible.
|
Int |
fps
Base frame rate (frames per second).
|
Class YAHOO.util.AnimMgr
Object | +--YAHOO.util.AnimMgr
class
YAHOO.util.AnimMgr
Quick Links:
Field Summary
|
Constructor Summary
|
Method Summary |
Field Details
|
Constructor Details
|
Method Details
Method Summary [top]
void |
registerElement
(<object> tween)
Adds an animation instance to the animation queue.
|
void |
run
()
Called per Interval to handle each animation frame.
|
void |
start
()
Starts the animation thread.
|
void |
stop
(<object> tween)
Stops the animation thread or a specific animation instance.
|
void |
unRegister
(tween, index)
|
Constructor Detail [top]
YAHOO.util.AnimMgr
YAHOO.util.AnimMgr
Method Detail [top]
registerElement
void
registerElement
(<object> tween)
Adds an animation instance to the animation queue.
All animation instances must be registered in order to animate.
- Parameters:
-
tween
- The Anim instance to be be registered
run
void
run
()
Called per Interval to handle each animation frame.
start
void
start
()
Starts the animation thread.
Only one thread can run at a time.
stop
void
stop
(<object> tween)
Stops the animation thread or a specific animation instance.
- Parameters:
-
tween
- A specific Anim instance to stop (optional) If no instance given, Manager stops thread and all animations.
unRegister
void
unRegister
(tween, index)