MovieClip.isTweenPaused() , TextField.isTweenPaused()

Availability

Flash Player 6.

Usage

my_mc.isTweenPaused(prop)

Parameters

prop A string indicating a single property to query for paused state. (Pass "_ct_" to query whether any color-related tween is paused.)

If the param is not passed, true is returned if any property is tweening.

Returns

True or false.

Description

method, check whether any tween or specific tweens are paused within an individual MovieClip or TextField.

Individual property queries are not supported during start delays, in which case all tweened properties of a target are paused or unpaused.

example 1:

my_mc.tween(["_x","_width"],[200,0],10);
my_mc.pauseTween(); // pauses all tweens

example 2:

my_mc.tween(["_x","_width"],[200,0],10);
my_mc.pauseTween('_x'); // pauses only _x tween

trace(my_mc.isTweenPaused()); // returns true
trace(my_mc.isTweenPaused('_x')); // returns true
trace(my_mc.isTweenPaused('_width')); // returns false