# Problem with external swf dissapearing after so long

**URL:** <https://forum.kirupa.com/t/problem-with-external-swf-dissapearing-after-so-long/118678>\
**Category:** Uncategorized\
**Created:** [August 8, 2004, 2:25am UTC](https://forum.kirupa.com/t/problem-with-external-swf-dissapearing-after-so-long/118678 "2004-08-08T02:25:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aaron353](https://avatars.discourse-cdn.com/v4/letter/a/e19b73/32.png) [@aaron353](https://forum.kirupa.com/u/aaron353)\
**Post date:** [August 8, 2004, 2:25am UTC](https://forum.kirupa.com/t/problem-with-external-swf-dissapearing-after-so-long/118678/1 "2004-08-08T02:25:43Z")

</div>

i have a movie using this preloader which i got here from another post that uses this code on the preloader movie itself.

> onClipEvent(enterFrame){  
> if(dummy ==1){  
> \_root.text.\_alpha += 10;  
> }  
> loaded = \_root.clip.getBytesLoaded();

total = \_root.clip.getBytesTotal();  
num = int(perc) + “%”;  
perc = (loaded/total)\*100;  
bar.\_width = perc;  
if(loaded == total && dummy == 1){  
\_root.text.\_alpha = 0;  
\_root.now = 1;  
//trace(“dja”);  
}  
}

Then i have on my frame action

> clip.loadMovie(“drive.swf”);  
> clip.\_alpha = 0;  
> now = 0;  
> text.dummy = 1;

//now load the external file into the myData object  
myData.load(“drive.txt”);  
stop();

Now it works great but when you go throught the frames and let it sit for about 30 seconds with out hitting a next or previouse to load the next swf it dissapears and then after about 30 sec it reapears and keeps doing it.

Can some one please help?

Thanks!
