hi !
I'm a newbie, trying to use tweenLite & I have problems !
there is a sprite (vit_activ) & 4 buttons (scaleX, scaleY, rot90 & rot-90).
when i push the scaleX button, the sprite flips horizontally.
if(vit_activ.scaleX==1)
{TweenLite.to(vit_activ,1,{scaleX:-1})}
else
{TweenLite.to(vit_activ,1,{scaleX:1})}
It works but is there a nice way to make it work without the test ?
Yet, the big problem occurs when I push rapidly on different buttons.
For instance, the sprite is supposed to rotate 90° clockwise or anticlockwise but when i push another button, while rotating, It stops rotating immediately and the other Tween starts.
The sprite.rotation has now a value not equal to 0, 90, 180 or -90.
How can I force the Tween effect to be finished before starting the next one ?
(sorry for my bad english)