I have an external preloader set up for the large images (the kind that uses listeners), but I was wondering how to go about adding a simple spinner preloader to the thumbnails themselves. Since each thumbnail's MC container has a different instance name, it seems like I would have to have a separate chunk of code for each thumbnail's preloader. Is there any way I can just code the thumbnail preloader once? Does the thumbnail preloader even need to be external? Remember, the thumbnails are being loaded dynamically.
This is in Flash 8. I've posted the Flash file and preloaders here, and the photos and thumbnail images can be downloaded from here if anybody wants to fiddle with it.
yes, you only need to write the movieClipLoader once.
The line that actually triggers it is loadClip() so you can call it anywhere you want and just pass it a new file and target.
Are you saying I don't even need to write a separate movieClipLoader and listener for the thumbnails; I can use the same one that I use for the large images? I don't think that's the case, since I want to use a different preloader for the thumbnails. The large images have a pie chart progress display with an incrementing percentage; the thumbnails will just have a small spinning graphic.