Hi All,
I have a movie with this script in the first frame:
//MOVIE CLIP LOADER FOR EXTERNAL MOVIES
var loadListener:Object = new Object ();
loadListener.onLoadStart = function (target_mc:MovieClip):Void {
trace (_root._currentframe);
_global.root.caption_txt.htmlText = "";
};
loadListener.onLoadError = function (target_mc:MovieClip, errorCode:String, httpStatus:Number) {};
loadListener.onLoadProgress = function (target_mc:MovieClip, loadedBytes:Number, totalBytes:Number):Void {};
loadListener.onLoadComplete = function (target_mc:MovieClip, httpStatus:Number):Void {};
loadListener.onLoadInit = function (target_mc:MovieClip):Void {
_root.movieCurrentlyPlaying = target_mc.movieCurrentlyPlaying;
target_mc.setMask (_root.maskHolder.mask_mc);
removeMovieClip(_root.currentMovie);
_root.currentMovie = target_mc;
};
var mcLoader:MovieClipLoader = new MovieClipLoader ();
mcLoader.addListener (loadListener);
//END OF MOVIE CLIP LOADER FOR EXTERNAL MOVIES
Then I have a second frame with this script:
stop ();
var mc1:MovieClip = this.createEmptyMovieClip ("mc1", 1);
mcLoader.loadClip ("procedure_1.swf", mc1);
I am getting a message, when I test the movie, that says:
“A script in this moving is causing Flash player to run slowly. If it continues to run, your computer may become unresponsive. DO you want to abort this script?”
Could anyone please help me figuring out what is wrong here?
Thanks in advance,