# Using clearInterval() and external swfs

**URL:** https://forum.kirupa.com/t/using-clearinterval-and-external-swfs/147498
**Category:** Uncategorized
**Created:** [May 11, 2005, 7:55am UTC](https://forum.kirupa.com/t/using-clearinterval-and-external-swfs/147498 "2005-05-11T07:55:10Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![lusterlack](https://avatars.discourse-cdn.com/v4/letter/l/cc9497/32.png) [@lusterlack](https://forum.kirupa.com/u/lusterlack)
#### Post date: [May 11, 2005, 7:55am UTC](https://forum.kirupa.com/t/using-clearinterval-and-external-swfs/147498/1 "2005-05-11T07:55:10Z")

</div>

Hi,

I have a project that requires around 20 external swfs. All of these swfs get called into a \_root via XML. Each swf (contains a video swf and some graphics/text) has a progress bar and a playhead that is monitored by using a setInterval(). Once the progress bar is complete, the interval gets cleared.

However, if a user wants to watch a new video before the progress bar gets cleared, the video swf won’t load, although all the text and static graphics that are in the swf file will. I think it may be an issue of the interval not clearing, because if the progress bar is completely downloaded and then a new swf is chosen, the video swf loads fine.

Can I use clearInterval() from the \_root of my movie to clear the setInterval from my external swf?

Thanks, any help would be much appreciated!

PS – I tried to solve this issue by using removeMovieClip() in my \_root, and that worked really well on everything but IE 5.2 for Mac!!
