Hi all,

I'm using the movieClipLoader class to load 6 different images
'simultaneous' but since it's the same object that got called every
time the .onLoadInit on happens for the last call, does anyone has a
clue how I can make this:

function displayThumbs() {
        for (i = 0; i < modelsArray.length; i++) {
                var path:String = 
"http://www.bottero.net/2008/images/modelos/s/ref";
+ modelsArray[i] + "s.png";
                loadImage(path,thumb_mc);
        }
}
function loadImage(imagePath, targetMc) {
        var container_mc:MovieClip = targetMc.img_mc;
        var loading_mc:MovieClip = targetMc.loading_mc;
        mclListener.onLoadInit = function() {
                main.hideMc(loading_mc);
        };
        img_mcl.addListener(mclListener);
        img_mcl.loadClip(imagePath,container_mc);
}

var mclListener:Object = new Object();
var img_mcl:MovieClipLoader = new MovieClipLoader();

work for multiple loadings at the same time ?

TIA
Marcelo Wolfgang
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to