HI, I found this code
var currentSwf:Number = 0;
var swfs:Array = new Array("xpeli001.swf", "xpeli0032.swf");
///////////////////////////////
trace(swfs);
var listener:Object = new Object();
var mcl:MovieClipLoader = new MovieClipLoader();
mcl.addListener(listener);
// This "loadNext" will stop after the last one.
function loadNext():Void {
if (currentSwf>=swfs.length) {
return;
}
mcl.loadClip(swfs[currentSwf], theTargetClip_mc);
currentSwf++;
}
// When the swf loads, set it up to constantly check its current frame
// against the total frames, and if those match, the swf is done playing.
// If that's the case, then load the next one.
listener.onLoadInit = function(targ:MovieClip):Void {
theTargetClip_mc.onEnterFrame = function():Void {
if (this._currentframe == this._totalframes) {
loadNext();
delete this.onEnterFrame;
}
};
};
loadNext();
// crear un movieclip vacío que se llame theTargetClip_mc
// create a empty movicliep and (re)name instance with theTargetClip_mc, the array load in this movieclip
thanks to drukepple
(
http://www.gotoandlearnforum.com/vie...e43bc2ba63b403 )