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 = getPercent100;
this.loadText = Math.round(getPercent100)+"%";
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]