Basically im creating many movieclips on stage. All of them will esentially load the same thing (which is load the a bigger movieclip on stage to load a picture). The problem is which picture to load. I was thinking of something like this...

PHP Code:
var i:int=0;
for(
ii<numClips;i++)
{
var 
myClip:MovieClip = new MovieClip();
myClip.addEventListener(MouseEvent.CLICKcHandler);
}
function 
cHandler(event:MouseEvent):void
{
//Determine wich movieclip is clicked
//Load image number based on movieclip number