View Ladislav Zigo's profile on LinkedIn

 
laco.wz.cz
Web



MovieClip.isTweening()

Availability

Flash Player 6.

Usage

my_mc.isTweening()

Parameters

none

Returns

Boolean value indicating that movieclip is tweening

Description

use this method if you will check if your movieclip is being tweened
example:
my_mc.tween(["_y","_alpha"],[0,100],5);
_root.onMouseDown = function(){
 if(my_mc.isTweening()){
    my_mc.stopTween(); 
    trace("my_mc was tweened and now is stoped");
 }
} 


download | examples | installation | custom Easing Tool | links