ActionScript 2.0 Components Language Reference |
|
|
|
| Tween class > Tween.finish | |||
Flash Player 6 (6.0.79.0).
Flash MX 2004.
tweenInstance.finish
Property (read-only); a number indicating the ending value of the target object property that is to be tweened. This property is set as a parameter when creating a new Tween instance or when calling the Tween.yoyo() method.
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);
|
|
|
|