Description
Event handler; invoked when the tweened animation completes to the end of its animation or
when the
Tween.stop()
the point at which the tweened animation was stopped.
Example
The following example applies a tweened animation to the
Tween instance finishes its animation, the Tween instance invokes the
Tween.onMotionStopped
the Stage for this example:
import mx.transitions.Tween;
var myTween:Tween = new Tween(img1_mc, "_x",
mx.transitions.easing.None.easeNone,0, Stage.width-img1_mc._width, 3,
true);
myTween.onMotionStopped = function() {
trace("onMotionStopped");
};
Tween.position
Availability
Flash Player 6 (6.0.79.0).
Edition
Flash MX 2004.
Usage
tweenInstance.position
Description
Property (read-only); the current value of the target object property being tweened. This value
updates with each drawn frame of the tweened animation.
method is called. Handling this event allows your code to react at
event handler. A movie clip instance named
movie clip
img1_mc
.
is required on
img1_mc
Tween.position
When the
1329
Need help?
Do you have a question about the FLASH 8-COMPONENTS LANGUAGE and is the answer not in the manual?
Questions and answers