I’m trying to create a pause when I enter a scene within my movie. I’ve tried using setInterval within a function but it creates havoc within the rest of my scenes.
Example:
I’d like to set a pause within scene 3 of my movie, aprox. 10 secs.
When I do this using sample code below it works but when I get to scene one it also pauses and then plays which isn’t what I want. I just want whichever scene I specify to pause and ev. else stay the same.
Any suggestions?
Thanks,
SKURGE
function timer(){
//trace(“10 seconds has passed…going to next scene”);
//delete this.timeOut; //when you want to kill timer
nextScene();
};
this.timeOut = setInterval(this,“timer”, 3000);