User Guide

1322 Tween class
Example
The following example returns the current finish setting of a Tween instance. A movie clip
instance named
img1_mc is required on the Stage for this example:
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
Tween.FPS property rather than the current Stage frame rate. Setting the Tween.FPS
property does not change the actual frame rate of the Stage.
NOTE
The Tween.FPS property returns undefined unless it is first set explicitly.