I have 24 movie clips on the stage: my_menu.image_holder_mc1 thru my_menu.image_holder_mc24. I want to load an image in each one. How do I identify the holder which to add a child.
The Code I have so far is…
for (var i:Number=1; i<=24;i++){
var myLoader:Loader = new Loader();
myLoader.name = "image_"+i;
myLoader.load(new URLRequest("images/image_"+i+".jpg"));
//WHAT GOES HERE?//.addChild(myLoader);
}
Thanks in advance for the help, I’m not a pro, and just picking up AS3.