Hello,
I'm externally loading some pretty large swfs (4MB - 5MB) into my main swf using a preloader from a tutorial on this site.
http://www.kirupa.com/developer/acti...liploader2.htm

As the swfs are loading i'm getting a pop-up window saying
"A script in this movie is causing Adobe Flash Player 9 to run slowly. If it continues to run, your computer may become unresponsive. Do you want to abort the script?"

if i click "no" everything continues to run fine. if i click "yes" my movie freezes in the middle of loading with the progress bar stopped at whatever percentage has already loaded.

After perusing the forums, it seems that an infinite loop is causing this, but I don't know enough about actionscript to track it down.

publishing as flash 6 makes it so the preloader doesn't even show up and nothing plays. I need to publish as flash player 7 or lower.

what is causing this pop up window and how do i get rid of it? thanks.
-michael

here is the page causing the issue
http://epicuredigital.com/tower/tower_website.html

here is a picture of the error (it happens in firefox and safari)
http://epicuredigital.com/tower/flash_error.png

here is my fla
http://epicuredigital.com/tower/tower_website.fla

in my .fla you'll see that the code in the tutorial takes place in one frame, while mine jumps frames depending on what button you press, but uses similar code for each frame.


here is my actionscript.

stop();

MovieClip.prototype.fadeIn = function() {
this.onEnterFrame = function() {
if (this._alpha<100) {
this._alpha += 10;
} else {
delete this.onEnterFrame;
}
};
};
bar._visible = false;
border._visible = false;
var empty = this.createEmptyMovieClip("container", "100");
empty._x = 0;
empty._y = 0;
my_mc = new MovieClipLoader();
preload = new Object();
my_mc.addListener(preload);
preload.onLoadStart = function(targetMC) {
trace("started loading "+targetMC);
container._alpha = 0;
bar._visible = true;
border._visible = true;
pText._visible = true;

};
preload.onLoadProgress = function(targetMC, lBytes, tBytes) {
bar._width = (lBytes/tBytes)*100;
pText.text = "% "+Math.round((lBytes/tBytes)*100);
container.gotoAndStop(1);

};
preload.onLoadComplete = function(targetMC) {
container.fadeIn();
border._visible = false;
bar._visible = false;
dText._visible = false;
trace(targetMC+" finished");
container.gotoAndPlay(1);
};
//default image
my_mc.loadClip("tower_swfs/welcome_1.swf", "container");
//buttons
button1.onPress = function() {
gotoAndStop("1");
my_mc.loadClip("tower_swfs/welcome_1.swf", "container");

};
button2.onPress = function() {
gotoAndStop("5");
my_mc.loadClip("tower_swfs/tower_salad.swf", "container");

};
button3.onPress = function() {
gotoAndStop("10");
my_mc.loadClip("tower_swfs/tower_wifi.swf", "container");
};