Hi folks.

MovieClipLoader is being a pest (or I'm being a n00b! Take your pick!). In short, I want to loop through a group of class instances, and want to load the picture into a blank movieclip.

But for some reason, the onLoadInit seems to be being accessed.... backwards!

Code:
	var mcListener:Object = new Object();
	mcListener.onLoadInit = function(target:MovieClip)
	{
		trace(target);

	}
	
	var mcloader:MovieClipLoader = new MovieClipLoader();
	mcloader.addListener(mcListener);
	for(var i=1; i<=_root["pictures1"].get_total(); i++)
	{
	            imagename="pictures/thumbs/"+_root["pictures1"].get_filename();
		nname="mypicture"+i;
		trace(nname);
		mc=_root.gallery.createEmptyMovieClip(nname,i);
		mcloader.loadClip(imagename,mc);
	}
produces the output:

mypicture1
mypicture2
mypicture3
mypicture4
mypicture5
mypicture6
mypicture7
mypicture8
mypicture9
mypicture10
mypicture11
mypicture12
_level0.gallery.mypicture12
_level0.gallery.mypicture11
_level0.gallery.mypicture10
_level0.gallery.mypicture9
_level0.gallery.mypicture8
_level0.gallery.mypicture7
_level0.gallery.mypicture6
_level0.gallery.mypicture5
_level0.gallery.mypicture4
_level0.gallery.mypicture3
_level0.gallery.mypicture2
_level0.gallery.mypicture1

Confused! Any ideas to why this happens?