View Ladislav Zigo's profile on LinkedIn

 
laco.wz.cz
Web


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 
} 



download | examples | installation | custom Easing Tool | links