BasicMultiTweenMS

Kind of class:class
Inherits from:AbstractMultiTween
Implements:
Known subclasses:
Version:1.0
Author:Francis Bourre
Classpath:com.bourre.transitions.BasicMultiTweenMS
File last modified:Wednesday, 31 October 2007, 07:35:30

Constructor

BasicMultiTweenMS

function BasicMultiTweenMS (
e:Array, n:Number, s:Array, f:Function)
Constructs a new MultiTweenMS instance.

Example

var t0:BasicMultiTweenMS = new BasicMultiTweenMS( mc, ["_x", "_y", "_alpha"], [600, 500, 0], 1200 );
var t1:BasicMultiTweenMS = new BasicMultiTweenMS( [mc0, mc1, mc2], ["_x", "_y", "_alpha"], [600, 500, 0], 1200, [0, 0, 100] );
var t2:BasicMultiTweenMS = new BasicMultiTweenMS( this, "arrayProperty", [600, 500, 0], 1200 );
Parameters:
t:
Object which the Tween targets.
p:
Setter (method or property).
e:
Ending value of property.
n:
Length of time of the motion in frames.
s:
(optional) Starting value of property.
f:
(optional) Easing function.

Instance methods

execute

function execute (
e:IEvent) : Void
Start tweening.

AbstractTween.execute overridding.

com.bourre.commands.Command polymorphism.

resume

function resume (
) : Void
Plays tweening from current property's value without reinitializing.

AbstractTween.resume overridding.

stop

function stop (
) : Void
Stops tweening.

AbstractTween.stop overridding.

toString

function toString (
) : String
Returns the string representation of this instance.
Returns:
the string representation of this instance