Package | net.flashpunk.tweens.misc |
Class | public class MultiVarTween |
Inheritance | MultiVarTween Tween Object |
Method | Defined By | ||
---|---|---|---|
MultiVarTween(complete:Function = null, type:uint = 0)
Constructor. | MultiVarTween | ||
cancel():void
Immediately stops the Tween and removes it from its Tweener without calling the complete callback. | Tween | ||
start():void
Starts the Tween, or restarts it if it's currently running. | Tween | ||
tween(object:Object, values:Object, duration:Number, ease:Function = null, delay:Number = 0):void
Tweens multiple numeric public properties. | MultiVarTween | ||
update():void
Updates the Tween, called by World. | Tween |
MultiVarTween | () | Constructor |
public function MultiVarTween(complete:Function = null, type:uint = 0)
Constructor.
Parameterscomplete:Function (default = null ) — Optional completion callback.
| |
type:uint (default = 0 ) — Tween type.
|
tween | () | method |
public function tween(object:Object, values:Object, duration:Number, ease:Function = null, delay:Number = 0):void
Tweens multiple numeric public properties.
Parameters
object:Object — The object containing the properties.
| |
values:Object — An object containing key/value pairs of properties and target values.
| |
duration:Number — Duration of the tween.
| |
ease:Function (default = null ) — Optional easer function.
| |
delay:Number (default = 0 )
|