PDA

View Full Version : Caurina tweener - trying to stop it tweening



biztaty
October 30th, 2008, 10:34 PM
Hi,

I have a timer, that calculates 2 seconds and after each 2 seconds it tweens my movie clip using caurina,

what I am trying to do is to stop it tweening,

what I am trying to do is something like this:


myMC.addEventListener(MouseEvent.MOUSE_DOWN, function() {
countTime.stop();

movieclip._enabled = false; (so that it will stop being moved by caurina)



I know the above line is wrong in actionscript 3


could anyone help me?

DrMaxMad
October 31st, 2008, 01:33 AM
Hi,

I have a timer, that calculates 2 seconds and after each 2 seconds it tweens my movie clip using caurina,

what I am trying to do is to stop it tweening,

what I am trying to do is something like this:


I know the above line is wrong in actionscript 3


could anyone help me?


when you want to stop tweener you should actually have to stop timer...
because if you havn't every time , the timer triggers TIMER event tweener is reset.