how can i cancel an existing delayed tween when i create another tween that tweens the same object´s propoerty?
for example, i have:
private function showPopUp():void
{
var inpopup:TweenLite = new TweenLite(popup, 0.25, {alpha: 1, ease: Linear.easeIn,
onComplete:function()
{
var outpopup:TweenLite = new TweenLite(popup, 0.25, {alpha: 0, delay: 3.5, ease: Linear.easeIn});
}
});
}
that function is called in different situations, to show a popup with some text.
i´ll try to say it simple :
let´s say the popup mc pops in and before it pops out, i tell him to pop in again, let´s say, after 3 seconds.
then the popup mc pops out within 0.5 seconds, instead of 3.5.
shouldn´t it overwrite "itself" ? i get confused.
its "overwrite" property defaults to true, right?
i´ve tried already in different manners, for example, by only creating a new tween instead of declaring it into a variable.
obs: it works well in my computer but not in the server !!!
help!