Example
The following example returns the current
instance named
img1_mc
import mx.transitions.Tween;
var myTween:Tween = new Tween(img1_mc, "_y",
mx.transitions.easing.Strong.easeOut,0, Stage.height - img1_mc._height,
50, false);
var myFinish:Number = myTween.finish;
trace(myFinish);
Tween.FPS
Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX 2004.
Usage
tweenInstance.FPS
Description
Property; the number of frames per second calculated into the tweened animation. By default
the current Stage frame rate is used to calculate the tweened animation. Setting this property
recalculates the number of increments in the animated property that is displayed each second
to the
property rather than the current Stage frame rate. Setting the
Tween.FPS
property does not change the actual frame rate of the Stage.
The Tween.FPS property returns undefined unless it is first set explicitly.
1322
Tween class
finish
is required on the Stage for this example:
setting of a Tween instance. A movie clip
Tween.FPS