Tween.finish

Availability

Flash Player 6 (6.0.79.0).

Edition

Flash MX 2004.

Usage

tweenInstance.finish

Description

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.

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);