I am creating a photo gallery and have created 20 movie clips (called thumbHolder1 all the way to thumbHolder20) these will hold the 20 thumbnails that are loaded using MovieClipLoader.
So far no problem, but is there a way avoid having to enter the following code 20 times (and change the name every time)?
myMCL.loadClip("gallery/tn_photo" + picNum + ".jpg", this.thumbHolder1);
What i need is a way to use a for loop and add 1 at the end of the name of the instance (thumbHolder*)
I also need to use the same thing with a name of a dinamic text field
Thanks !!
So far no problem, but is there a way avoid having to enter the following code 20 times (and change the name every time)?
myMCL.loadClip("gallery/tn_photo" + picNum + ".jpg", this.thumbHolder1);
What i need is a way to use a for loop and add 1 at the end of the name of the instance (thumbHolder*)
I also need to use the same thing with a name of a dinamic text field
Thanks !!