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 |
Summary
Constructor
Instance properties
Instance properties inherited from AbstractMultiTween
Instance methods
Instance methods inherited from AbstractMultiTween
Event handlers
Event handlers inherited from AbstractMultiTween
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.
Overrides:
Specified by:
resume
function resume (
) : Void
Plays tweening from current property's value without reinitializing.
AbstractTween.resume overridding.
Overrides:
toString
function toString (
) : String
Returns the string representation of this instance.
Returns:
the string representation of this instance
Overrides: