Packagecom.bourre.transitions
Classpublic class MultiTweenMS
InheritanceMultiTweenMS Inheritance AbstractMultiTween Inheritance AbstractSyncCommand Inheritance AbstractCommand

Player version: Flash Player 9.0
Language version: ActionScript 3.0

The MultiTweenMS class allow tweening of many properties at the same time using a MSBeacon timer.

See also

MSBeacon


Protected Properties
 PropertyDefined by
 Inherited_bIsRunning : Boolean
A boolean value which indicates if this command is currently processing.
AbstractSyncCommand
 Inherited_eOnCommandEnd : BasicEvent
An event instance used as event object when dispatching the onCommandEnd event to its listener.
AbstractSyncCommand
 Inherited_oEB : EventBroadcaster
The internal event broadcaster.
AbstractSyncCommand
 Inherited_owner : Plugin
A reference to the plugin owner of this command.
AbstractCommand
Public Methods
 MethodDefined by
  
MultiTweenMS(targets:Object, setters:Array, endValues:Array, duration:Number, startValues:Array = null, easing:Function = null, getters:Array = null)
Creates new MultiTweenMS instance.
MultiTweenMS
 Inherited
_update():void
AbstractMultiTween
 Inherited
addASyncCommandListener(listener:ASyncCommandListener, ... rest):Boolean
Adds the passed-in listener as listener for the onCommandEnd event of this command.
AbstractSyncCommand
 Inherited
addEventListener(type:String, listener:Object, ... rest):Boolean
Adds an event listener for the specified event type.
AbstractMultiTween
 Inherited
addListener(listener:TweenListener):Boolean
Adds the passed-in listener as listener for all events dispatched by this event broadcaster.
AbstractMultiTween
 Inherited
execute(e:Event = null):void
Execute the request according to the current command data.
AbstractMultiTween
 Inherited
Fires the onCommandEnd event to the listeners of this command.
AbstractSyncCommand
 Inherited
getDuration():Number
AbstractMultiTween
 Inherited
getEasing():Function
AbstractMultiTween
 Inherited
getEndValue():Array
AbstractMultiTween
 Inherited
Returns the exclusive logger object owned by the plugin.
AbstractCommand
 Inherited
getModel(key:String):AbstractModel
Returns a reference to the model AbstractModel.
AbstractCommand
 Inherited
Returns a reference to the owner of this command.
AbstractCommand
 Inherited
AbstractMultiTween
 Inherited
getStartValue():Array
AbstractMultiTween
 Inherited
getTarget():Object
AbstractMultiTween
 Inherited
getView(key:String):AbstractView
Returns a reference to the view AbstractView.
AbstractCommand
 Inherited
isModelRegistered(key:String):Boolean
Check if a model AbstractModel is registered with passed key in owner's ModelLocator.
AbstractCommand
  
isMotionFinished():Boolean
Returns true if tweening is finished.
MultiTweenMS
 Inherited
isReversed():Boolean
Returns true if the motion is in reverse mode.
AbstractMultiTween
  
Returns true if tweening is finished.
MultiTweenMS
 Inherited
isRunning():Boolean
Returns true if this command is currently processing.
AbstractSyncCommand
 Inherited
isViewRegistered(key:String):Boolean
Check if a view AbstractView is registered with passed key in owner's ViewLocator.
AbstractCommand
 Inherited
noEasing(t:Number, b:Number, c:Number, d:Number):Number
[static] Returns a no easing function for tweening process.
AbstractMultiTween
 Inherited
onTick(e:Event = null):void
Method called by the TickBeacon for each step of time according to its time slicing approach.
AbstractMultiTween
 Inherited
onUpdate(sV:Number, eV:Number):Number
AbstractMultiTween
 Inherited
Removes the passed-in listener for listening the onCommandEnd event of this command.
AbstractSyncCommand
 Inherited
removeEventListener(type:String, listener:Object):Boolean
Removes the passed-in listener for listening the specified event.
AbstractMultiTween
 Inherited
removeListener(listener:TweenListener):Boolean
Removes the passed-in listener object from this event broadcaster.
AbstractMultiTween
  
reset():void
Resets the state of this object.
MultiTweenMS
 Inherited
run():void
Implementation of the Runnable interface, a call to run() is equivalent to a call to execute without argument.
AbstractSyncCommand
 Inherited
setDuration(n:Number):void
AbstractMultiTween
 Inherited
setEasing(f:Function):void
Defines the easing function used by this Tween object.
AbstractMultiTween
 Inherited
setEndValue(a:Array):void
AbstractMultiTween
 Inherited
setOwner(owner:Plugin):void
Defines the plugin owner of this command.
AbstractCommand
 Inherited
setPlayHeadPosition(n:Number):void
AbstractMultiTween
 Inherited
setReversed(b:Boolean):void
AbstractMultiTween
 Inherited
setStartValue(a:Array):void
AbstractMultiTween
  
start():void
Starts the operation of this suspendable operation.
MultiTweenMS
  
stop():void
Stops the operation in process.
MultiTweenMS
 Inherited
toString():String
Returns the string representation of the object.
AbstractSyncCommand
Protected Methods
 MethodDefined by
 Inherited
_buildAccessor(o:Object, sP:Array, gP:Array = null, nS:Array = null):void
AbstractMultiTween
 Inherited
_onMotionEnd():void
AbstractMultiTween
 Inherited
firePrivateEvent(e:Event):void
Fires a private event directly on this command's owner.
AbstractCommand
Events
 EventSummaryDefined by
 Inherited Dispatched when tweened property value change.AbstractMultiTween
 Inherited Dispatched when tween start.AbstractMultiTween
 Inherited Dispatched when tween stop.AbstractMultiTween
Public Constants
 ConstantDefined by
 InheritedonCommandEndEVENT : String = "onCommandEnd"
[static] Name of the event dispatched at the end of the command's process.
AbstractSyncCommand
Constructor detail
MultiTweenMS()constructor
public function MultiTweenMS(targets:Object, setters:Array, endValues:Array, duration:Number, startValues:Array = null, easing:Function = null, getters:Array = null)

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Creates new MultiTweenMS instance.

Parameters
targets:Object — Tween target
 
setters:Array — Setter accessor list
 
endValues:Array — End values for all tweened properties
 
duration:Number — Start values for all tweened properties
 
startValues:Array (default = null) — Easing function to use for tweening
 
easing:Function (default = null) — Getter accessor list
 
getters:Array (default = null)
Method detail
isMotionFinished()method
public override function isMotionFinished():Boolean

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Returns true if tweening is finished.

Returns
Booleantrue if tweening is finished
isReversedMotionFinished()method 
public override function isReversedMotionFinished():Boolean

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Returns true if tweening is finished.

Reverse mode only.

Returns
Booleantrue if tweening is finished
reset()method 
public override function reset():void

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Resets the state of this object. The state of an operation could be reset at any time, whether it be running or stopped. Concret implementation, which not support the reset method, can choose to throw an exception or to simply ignore the call.

start()method 
public override function start():void

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Starts the operation of this suspendable operation. If a call to the start method is done while the operation is playing, concret class must ignore it.

stop()method 
public override function stop():void

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Stops the operation in process. If a call to the stop method is done whereas this operation is already stopped, concret class must ignore it.