Class Index | File Index

Classes


Class lime.animation.Loop


Extends lime.animation.Animation.

Defined in: loop.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Loop animation again after it has finished
Fields borrowed from class lime.animation.Animation:
isPlaying_, scope, targets, update
Method Summary
Method Attributes Method Name and Description
 
addTarget(target)
 
Return the run limit value for animation.
<private>  
Handle action end.
 
initTarget(target)
 
play()
 
removeTarget(target)
 
setLimit(value)
Set new run limit for animation.
 
stop()
Methods borrowed from class lime.animation.Animation:
cloneParam, enableOptimizations, getDirector, getDuration, getEasing, getTargetProp, makeTargetProp, reverse, setDuration, setEasing, step_, updateAll, useTransitions
Class Detail
lime.animation.Loop(action)
Loop animation again after it has finished
Parameters:
{lime.animation.Animation} action
Animation to loop.
Method Detail
addTarget(target)
Parameters:
target
See:
lime.animation.Animation#addTarget

{number} getLimit()
Return the run limit value for animation. 0 means no limit.
Returns:
{number} Limit.

<private> handleActionEnd_()
Handle action end. Start new action or stop if limit reached.

initTarget(target)
Parameters:
target
See:
lime.animation.Animation#makeTargetProp

play()
See:
lime.animation.Animation#play

removeTarget(target)
Parameters:
target
See:
lime.animation.Animation#removeTarget

{lime.animation.Loop} setLimit(value)
Set new run limit for animation. 0 means no limit/infinity.
Parameters:
{number} value
New limit value.
Returns:
{lime.animation.Loop} object itself.

stop()
See:
lime.animation.Animation#stop

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Jun 30 2011 11:27:20 GMT+0300 (EEST)