I have a flash file that works perfectly until I try to add a link.

There's a movie that has text swooping in and out. To keep the text still for a few seconds I added this on certain keyframes:

function wait() {
stop();
var myInterval = setInterval(function () {
play();
clearInterval(myInterval);
}, 2*1000); // stop for 2 seconds
}

wait();

And then at the end of the movie I told it to stop entirely.

Everything works perfect until I try to add a transparent box with a link on a completely different layer. The text no longer pauses for a few seconds and the movie will perpetually loop.

This is what I use for the link:

on(release)
{
getURL("http://www.google.com");
}

It's pretty typical stuff. I can't imagine what's going on. Anyone have an idea?

Thanks!