Tutorial doesn't answer this
The tutorial for timed events doesn't address clearing a setInterval. I'm simply testing the setInterval function to load a movie and then unload another movie. Let me explain in more detail.
Using the setInterval function I'm able to load my test file 'box1.swf'. The problem I'm having is removing that file after a set amount of time, and keeping it removed. The script (above) removes the clip but the statemant loops. I've tried several combinations including various combinations of getTimer,clearInterval, and even delete (object), to no avail.
Any ideas?
|