loadClip function not working

hi, i have some code that i am using to try and create a scrolling row of images…


photoArray = ["Pic01.jpg", "Pic02.jpg", "Pic03.jpg", "Pic05.jpg", "Pic06.jpg", "Pic07.jpg", "Pic08.jpg", "Pic09.jpg", "Pic10.jpg", "Pic11.jpg"];
imageHolder=content_mc.photogallery_mc.photoline_mc.createEmptyMovieClip("imageHolder_mc", 0);
imageHolder._width=522;
imageHolder._height=115;
content_mc.photogallery_mc.mask._alpha=50;
 
var nextX:Number;
for(i=0;i<photoArray.length;i++){
imagePath=imageHolder.createEmptyMovieClip("image_"+i+"_mc", i);
var imageMcLoader:MovieClipLoader = new MovieClipLoader();
var imageListener:Object = new Object();
imageMcLoader.addListener(imageListener);
 
imageListener.onLoadComplete = function(target_mc:MovieClip) {
	 //actions would go here
};
imageListener.onLoadInit = function(target_mc:MovieClip) {
	 //actions would go here
};
imageListener.onLoadError = function(target_mc:MovieClip, errorCode:String) {
	 //actions would go here
};
 
trace(imageListener.loadClip(_l1 + photoArray*, imagePath));
}

now the idea is that for each image in the array, an empty MC is created and the image is loaded into it and becomes part of my of scrolling line of images…

the problem is that the loadClip() function does not get called. when i trace like in the above code it returns undefined… can anyone pls give me some assistance… ??? thanks in advance…

i should mention that this is the first time i am attempting to use this function and i edited the code from the macromedia help example… :slight_smile: