Hi,
I tried to use onUpdate and onComplete in the same tween and I realized that onComplete function is not being called
in this case, maybe it has been overwritten? If I try to do the same thing with Tweener it works, just not with TweenMax...
TweenMax.to($block, .2, { onUpdate:changeColor, onUpdateParams:[$block], onComplete:changeComplete, onCompleteParams:[$block]} );
Tweener.addTween($block, {time:.2, onUpdate:changeColor, onUpdateParams:[$block], onComplete:changeComplete, onCompleteParams:[$block]});
Anyone ran into this problem before?
Cheers,
Christine