MC Tween: it saves the world.™

Home | Using MC Tween | Documentation | AS2 usage notes | Animation Types | Downloads | Examples | Extensions | Author & Disclaimer | Links

.resumeTween()

Applies To

MovieClip, Sound, TextField

Availability

Flash 6 and above, using AS1 or AS2.

Usage

<MovieClip|Sound|TextField>.resumeTween([property(ies), property, ...);

Parameters

property(ies) : Property or properties to be resumed. This can be a single string containing one property name (as in "_x"), an array containing a list of property names (as in ["_x", "_y"]), or a list of properties as parameters (as in "_x", "_y"). It can be omitted, too; in this case, all paused tweenings for that particular object will be resumed.

Returns

Nothing.

Description

Method; resumes tweenings that have been previously paused on a particular object. Non-paused tweenings are not affected.

Examples

// Resumes an _alpha tweening that has been paused on a MovieClip
<MovieClip>.resumeTween("__alpha");

// Resumes all paused tweenings on a Sound object
<Sound>.pauseTween();

// Resumes an _x and and _y tweening on a MovieClip
<MovieClip>.pauseTween(["_x", "_y"]);

// Also resumes an _x and and _y tweening on a MovieClip
<MovieClip>.pauseTween("_x", "_y");

See Also

pauseTween(), stopTween()

MC Tween· Zeh Fernando, 2003-2006 · Proudly hosted at DreamHost · Disclaimer