MC Tween: it saves the world.™

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

.getTweens()

Applies To

MovieClip, Sound, TextField

Availability

Flash 6 and above, using AS1 or AS2.

Usage

<MovieClip|Sound|TextField>.getTweens()

Parameters

None.

Returns

The number of tweenings being performed by the object in that moment. Future tweenings (created with delays) are also counted.

Description

Auxiliary function; it's used to find out how many tweenings an object has.

Examples

// Shows how many tweenings a MovieClip object has
trace ("The MovieClip has " + <MovieClip>.getTweens() + " tweenings at this moment.");

See Also

isTweening()

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