# Pre-loader Propblems with loading external SWF's

**URL:** <https://forum.kirupa.com/t/pre-loader-propblems-with-loading-external-swfs/36332>\
**Category:** flash\
**Created:** [November 25, 2003, 4:10pm UTC](https://forum.kirupa.com/t/pre-loader-propblems-with-loading-external-swfs/36332 "2003-11-25T16:10:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![deland01](https://avatars.discourse-cdn.com/v4/letter/d/97f17d/32.png) [@deland01](https://forum.kirupa.com/u/deland01)\
**Post date:** [November 25, 2003, 4:10pm UTC](https://forum.kirupa.com/t/pre-loader-propblems-with-loading-external-swfs/36332/1 "2003-11-25T16:10:51Z")

</div>

Please could anyone help. I have created an interface which loads an external SWF into a window on the click of a button. The movie being loaded is quite big so I put a pre-loader on the beginning of it.

At first it loaded ok, the pre-loader appeared and the percentage counted up with the loading bar.

For some reason now When I click on the button to load the external SWF there is a big pause and then I get the following message.

_“The script in this movie is causing Macromedia Flash Player 7 to run slowly. If it continues to run, your computer may become unresponsive. Do you want to abort the script?”_

I have un-installed and then re-installed Flash Player 7 with no joy. Any ideas??

the script in my pre-loader is as follows:

**frame1**  
[COLOR=red]bytes\_loaded = Math.round(this.getBytesLoaded());  
bytes\_total = Math.round(this.getBytesTotal());  
getPercent = bytes\_loaded/bytes\_total;  
this.loadBar.\_width = getPercent_100;  
this.loadText = Math.round(getPercent_100)+"%";  
if (bytes\_loaded == bytes\_total) {  
this.gotoAndPlay(3);  
}1[/COLOR]

**frame2**  
[COLOR=red]this.gotoAndPlay(1);1[/COLOR]

**frame3**  
[COLOR=red]gotoAndPlay(“Scene02”, 1);[/COLOR]
