BasicTweenFPS
| Kind of class: | class |
|---|---|
| Inherits from: | AbstractTween |
| Implements: | |
| Known subclasses: | |
| Version: | 1.0 |
| Author: | Francis Bourre |
| Classpath: | com.bourre.transitions.BasicTweenFPS |
| File last modified: | Wednesday, 31 October 2007, 07:35:30 |
BasicTweenFPS is the basic class for FPS synchronisation tweening.Concrete implementation of AbstractTween class.
If your animation framerate is 31 fps, tweening progression is calculatated
31 times per second.
Example
var t : BasicTweenFPS = new BasicTweenFPS(mc, '_alpha', 0, 30, 100); t.start();
Summary
Constructor
Instance properties
Class methods
Class methods inherited from AbstractTween
Instance methods
Instance methods inherited from AbstractTween
Event handlers
Event handlers inherited from AbstractTween
Constructor
BasicTweenFPS
function BasicTweenFPS (
nE:Number,
nRate:Number,
nS:Number,
fE:Function)
Constructs a new
BasicTweenFPS 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 frames.
nS :
(optional) Starting value of property.
fE :
(optional) Easing function .
Instance methods
execute
function execute (
) : Void
Start tweening.
AbstractTween.execute overridding.
com.bourre.commands.Command polymorphism.
toString
function toString (
) : String
Returns the string representation of this instance.
Returns:
the string representation of this instance
Overrides: