Problem with setInterval - please help?

This is really strange. I left work friday and this was working fine, I come in this morning and it doesn’t work. I can only figure I did something without realizing it.

I have a movie that I want to play a piece, then wait (because voice will be overlaid) then after a set period of time, it moves on…

I used this:

stop();
function wait() {
gotoAndPlay(2);
trace (“testing”);
clearInterval(myTimer);
}
myTimer = setInterval(wait, 2000);

Which should (?) wait 2 seconds, then go to frame two (and give me the “testing” output) only once, right? Because what it does is waits 2 seconds, goes to frame 2, gives me “testing”…then does it again 2 seconds later…and again…and again…

I thought clearInterval was supposed to stop it? what am I doing wrong?

The fla is here, if you want to look at it (about 3 megs):
http://www.pseudodigm.com/files/automated.zip

Rick

clearInterval will stop it… but each time its being stopped the setInterval is calling the function all over again, only to be stopped again by your clearInterval.