I have the following code below that works but it has a quirk that it will only show the last MC that was loaded. If you try to reference the first MC it gives an error that the movieclip doesn’t exist. Anyone know what would be causing this or how I can get all the movieclips loaded and showing?
for(y=1; y<=2; y++){
_root.createEmptyMovieClip("thumb"+y, 1);
var thumbName = eval("_root.thumb"+y);
thumbName._x = (y*100);
var imageLoader = new MovieClipLoader();
imageLoader.loadClip(picArray[y], thumbName);
}
imageLoader.onLoadInit = function(targetMC){
targetMC.createEmptyMovieClip("mask", 1);
with(targetMC.mask){
lineStyle(0,0xFFFFFF,100);
beginFill(0x000000,30);
moveTo(50,0);
lineTo(150,0);
lineTo(150,100);
lineTo(50,100);
lineTo(50,0);
endFill();
}
}