isTweening()

Availability

AS2 and AS3.

Usage

Tweener.isTweening(target:Object):Boolean;

Parameters

target:Object — The target object.

Description

Returns whether the object has any tweening acting on one of its properties or not. Delayed or paused tweenings count as a valid tweening.

Returns

Boolean — true if it has any tweening, false otherwise.

Examples

// Tell if an object has a tweening.
if (Tweener.isTweening(myMC)) trace ("The object myMC has at least one tweening.");

See also

getTweenCount, getTweens