stop(); myMCL = new MovieClipLoader(); myListener = new Object(); myListener.onLoadStart = function(targetMC){ debug.text += "Start Loading " + targetMC + "!!!" + newline; } myListener.onLoadProgress = function(targetMC, loadedBytes, totalBytes){ trace(targetMC + " " + Math.round((loadedBytes/totalBytes)*100)); targetMC.mytext.text = Math.round((loadedBytes/totalBytes)*100); } myListener.onLoadComplete = function(targetMC){ debug.text += "LOADING OF " + targetMC + " COMPLETE" + newline; targetMC.onPress = function() { debug.text += newline + "targetMC = " + targetMC._name; } } function initClips(){ for (i=1; i<=4; i++){ this.attachMovie("img", "img" + i, i); this["img"+i]._x = i*110; myMCL.loadClip("0" + i + ".jpg" , this["img"+i]); } } myMCL.addListener(myListener); initClips();