Tween.duration
Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX 2004.
Usage
tweenInstance.duration
Description
Property (read-only); a number indicating the duration of the tweened animation in frames or
seconds. This property is set as a parameter when creating a new Tween instance or when
calling the
method.
Tween.yoyo()
Example
The following example traces the current
setting of a Tween object by getting the
duration
property. A movie clip instance named
is required on the Stage for
Tween.duration
img1_mc
this example:
import mx.transitions.Tween;
var myTween:Tween = new Tween(img1_mc, "_y",
mx.transitions.easing.Strong.easeOut,0, Stage.height, 50, false);
var theDuration:Number = myTween.duration;
trace(theDuration);
Tween.fforward()
Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX 2004.
Usage
tweenInstance.fforward()
Returns
Nothing.
1320
Tween class
Need help?
Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?
Questions and answers