BasicTweenMS

Kind of class:class
Inherits from:AbstractTween
Implements:
Known subclasses:
Version:1.0
Author:Francis Bourre
Classpath:com.bourre.transitions.BasicTweenMS
File last modified:Wednesday, 31 October 2007, 07:35:30
BasicTweenMS is the basic class for time synchronisation tweening.

Concrete implementation of AbstractTween class.

Example

var t : BasicTweenFPS = new BasicTweenMS(mc, '_alpha', 0, 2000, 100);
t.start();

Summary

Constructor

BasicTweenMS

function BasicTweenMS (
nE:Number, nRate:Number, nS:Number, fE:Function)
Constructs a new BasicTweenMS instance.
Parameters:
oT :
Object which the Tween targets.
sP :
Setter (method or property).
nE :
Ending value of property.
nRate:
Length of time of the motion in milliseconds.
nS :
Starting value of property (optional).
fE :
Easing function (optional).

Instance methods

execute

function execute (
) : 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