MovieClip.stopTween()

Availability

Flash Player 6.

Usage

my_mc.stopTween(props)

Parameters

props A string or array of strings indicating properties to be stopped
if you will stop tweening of colorTransform (methods colotTo, brightnessTo, colorTransformTo) use "_ct_" as props parameter

Returns

Nothing.

Description

method, stops tweening of  props , without passing  props function stops all tweens in movieclip

example:

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

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