Hi everyone,
Just wondered if it was possible to have more than one setInverval on the one timeline. I have the following code on a keyframe close to the start of a movieclip timeline
stop();
pauseAnim = setInterval (this, "nextFrame", 3000);
I also clear the the interval on the next frame with this:
clearInterval(pausAnim);
play();
...and then the same code at another keyframe toward the end, but the interval isn't working the second time. Is this because two aren't allowed on the same timeline?
Thanks for any help.
Just wondered if it was possible to have more than one setInverval on the one timeline. I have the following code on a keyframe close to the start of a movieclip timeline
stop();
pauseAnim = setInterval (this, "nextFrame", 3000);
I also clear the the interval on the next frame with this:
clearInterval(pausAnim);
play();
...and then the same code at another keyframe toward the end, but the interval isn't working the second time. Is this because two aren't allowed on the same timeline?
Thanks for any help.