MovieClip.stopTween() , TextField.stopTween()

Availability

Flash Player 6.

Usage

my_mc.stopTween(props)

Parameters

props One or more properties to be specifically affected. If the param is not passed, all properties being tweened are affected.

Accepts the following formats:

To affect colorTransform (methods colorTo, brightnessTo, colorTransformTo, invertColorTo, tintTo) use "_ct_" as props parameter.

Returns

Nothing.

Description

method, stops tweening of  props. If props is not passed, stops all tweens in movieclip or textfield.

example:

my_mc.tween(["_x","_width"],[200,0],10);

my_mc.onMouseDown = function(){
 this.stopTween("_x");    // stops _x movement 
 //this.stopTween(); 	 // stops all movements 
}