Hi All,
I’m using the MX tween class to sequence a series of ‘slides’, each of which dissolve using the alpha property. Now I’ve got it all working quite well but when I click on the traditional ‘skip intro’ button (which takes me to a menu) the movie will start the next tween!! I need the skip button to kill all tweens so that nothing happens when i click skip.
A tween looks like this:
var slide1:Object = new TweenDelay(slide1mc, “_alpha”, Strong.easeIn, 100,0,2,true);
Here’s my button code:
on {release} {
slide1.stop();
slide2.stop();
slide3.stop();
gotoAndPlay(‘menu’);
}
I was hoping that no matter where I am through the intro, clicking the button would stop all tweens. I did some testing where I removed the gotoAndPlay to see if it was stopping the tween and indeed it was. But another restarts when I jump to the menu frame.
The menu frame has no tween classes setup on it so I don’t know what’s going on, it seems to be some sort of legacy tween!!
Can any help me to kill tweens?
Sarah