Tweener Documentation
AS2 and AS3.
Tweener.getTweenCount(target:Object):Number;
target
:Object — The target object.
Returns the number of tweenings that a given target object currently has. Delayed and paused tweenings are counted.
Number — total of tweenings active on a given object.
// Say how many tweenings an object has trace ("Object myMC has " + Tweener.getTweenCount(myMC) + " tweenings.");
// Remove tweenings from an object if needed if (Tweener.getTweenCount(myMC) > 0) Tweener.removeTweens(myMC);