| Package | org.coretween |
| Class | public class TweenStack |
| Inheritance | TweenStack flash.events.EventDispatcher |
| Implements | Tweenable |
| Property | Defined By | ||
|---|---|---|---|
| loop : Boolean
Indicates whether the sequence is looping or not. | TweenStack | ||
| paused : Boolean
By getting or setting this property the paused state of the animation can
be controlled. | TweenStack | ||
| Method | Defined By | ||
|---|---|---|---|
TweenStack(loop:Boolean = false)
This is the TweenStack class constructor. | TweenStack | ||
pause(... args):void
Indicates wheter to pause the animation or not. | TweenStack | ||
This method pushes a Tweenable object onto the TweenStack. | TweenStack | ||
resume():void
Resumes a paused TweenStack animation. | TweenStack | ||
rewind():void
Rewinds the TweenStack animation. | TweenStack | ||
start():void
Starts executing the TweenStack animation. | TweenStack | ||
stop():void
Stops executing the TweenStack animation. | TweenStack | ||
update(currentTime:Number):void | TweenStack | ||
| loop | property |
loop:BooleanIndicates whether the sequence is looping or not. The default for this value is false.
public function get loop():Boolean public function set loop(value:Boolean):void| paused | property |
paused:BooleanBy getting or setting this property the paused state of the animation can be controlled.
public function get paused():Boolean public function set paused(value:Boolean):void| TweenStack | () | Constructor |
public function TweenStack(loop:Boolean = false)This is the TweenStack class constructor. Use the TweenStack constructor the create a new TweenStack object.
Parametersloop:Boolean (default = false) |
| pause | () | method |
public function pause(... args):voidIndicates wheter to pause the animation or not.
Parameters
... args |
| push | () | method |
public function push(tween:Tweenable):voidThis method pushes a Tweenable object onto the TweenStack. Tweenable objects are executed in the order they where pushed onto the TweenStack.
Parameters
tween:Tweenable |
| resume | () | method |
public function resume():voidResumes a paused TweenStack animation. Has no effect on a TweenStack animation that is not paused.
| rewind | () | method |
public function rewind():voidRewinds the TweenStack animation.
| start | () | method |
public function start():voidStarts executing the TweenStack animation.
| stop | () | method |
public function stop():voidStops executing the TweenStack animation.
| update | () | method |
public function update(currentTime:Number):voidParameters
currentTime:Number |