Packageorg.coretween
Classpublic class TweenStack
InheritanceTweenStack Inheritance flash.events.EventDispatcher
Implements Tweenable

The TweenStack class provides linair playback of executive Tween objects. Use The TweenStack class to create an animation of tweens.



Public Properties
 PropertyDefined 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
Public Methods
 MethodDefined By
  
TweenStack(loop:Boolean = false)
This is the TweenStack class constructor.
TweenStack
  
pause(... args):void
Indicates wheter to pause the animation or not.
TweenStack
  
push(tween:Tweenable):void
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
Property Detail
loopproperty
loop:Boolean

Indicates whether the sequence is looping or not. The default for this value is false.


Implementation
    public function get loop():Boolean
    public function set loop(value:Boolean):void
pausedproperty 
paused:Boolean

By getting or setting this property the paused state of the animation can be controlled.


Implementation
    public function get paused():Boolean
    public function set paused(value:Boolean):void
Constructor Detail
TweenStack()Constructor
public function TweenStack(loop:Boolean = false)

This is the TweenStack class constructor. Use the TweenStack constructor the create a new TweenStack object.

Parameters
loop:Boolean (default = false)
Method Detail
pause()method
public function pause(... args):void

Indicates wheter to pause the animation or not.

Parameters

... args

push()method 
public function push(tween:Tweenable):void

This 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():void

Resumes a paused TweenStack animation. Has no effect on a TweenStack animation that is not paused.

rewind()method 
public function rewind():void

Rewinds the TweenStack animation.

start()method 
public function start():void

Starts executing the TweenStack animation.

stop()method 
public function stop():void

Stops executing the TweenStack animation.

update()method 
public function update(currentTime:Number):void

Parameters

currentTime:Number