Help loading pictures into AS3

So I have toyed around with this for over a day, and still can’t figure out a solution. Scenario: Upload 2 images to a server. Download those images via AS3 and place them into different containers(movieclip or sprite), not overlapping one another. Well I can do it no problem, but they overlap one another and for some reason use the same “loader”. I need a fresh pair of eyes, anyone know whats going on?

for (var i=1; i<2; i++){
		var image:URLRequest = new URLRequest("http://myurl.com/images/" +jpgarray*+".jpg");
		var myLoader:Loader = new Loader();
		myLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, setImage);
		myLoader.load(image);
	}

		
	  function setImage(event:Event){
		  myLoader.width = 50;
		  myLoader.height = 150;
		  mainArray.push(myLoader);
		 for (var n = 0; n < mainArray.length; n++) {
		  var holder:MovieClip = new MovieClip();
		  addChild (holder);
		  holder.addChild(mainArray[0]);
		  mainArray[n].x = 50*n;
        }
}


There are several different ways you can write the above code, but the outcome is still the same. It uses the same Loader or Movieclip, or uses the same container, simply overlapping the images. I need a fresh pair of eyes, Badly!

Thanks in advance!