How to assign value to loader and retrieve from Event.COMPLETE function

hi. i’m loading in multiple images using the same loader using a for loop. what i’m trying to figure out is how can i tell when the first 4 images are loaded. is there away to attach and index to each loader and then get it from the event in the on complete function? below is the code i’m using:

for (var i:int = 1; i < buttonlenght; i++) {


    var tempurl:String=bottomToutItem.imageToLoadSmall;
    imageLoaderTout = new Loader();
    imageLoaderTout.load(new URLRequest(tempurl));
    imageLoaderTout.contentLoaderInfo.addEventListener(Event.COMPLETE, imageLoadedTout);


function imageLoadedTout(e:Event):void {
//here i want to figure out if the initial 4 images sent to imageLoaderTout are loaded
trace("loaded: " + e);