I usually would break out the thumbs into their own class with a
MovieClipLoader for each but this may give you the same effect:
function displayThumbs()
{
for (i = 0; i < modelsArray.length; i++)
{
var img_mcl:MovieClipLoader = new MovieClipLoader();
img_mcl.addListener(this);
var path:String = "http://www.bottero.net/2008/images/modelos/s/ref"
+ modelsArray[i] + "s.png";
img_mcl.loadClip(path, thumb_mc.img_mc);
}
}
function onLoadInit(target:MovieClip)
{
main.hideMc(target._parent.loading_mc);
}
On Feb 12, 2008 10:13 PM, Muzak <[EMAIL PROTECTED]> wrote:
> It's a Windows restriction, which can be manually changed in the registry
> (or with some 3rd party tools).
> Mine is set to 20 or something ;-)
>
> ----- Original Message -----
> From: "EECOLOR" <[EMAIL PROTECTED]>
> To: "Flash Coders List" <[email protected]>
> Sent: Wednesday, February 13, 2008 12:20 AM
> Subject: Re: [Flashcoders] Multiple moviecliploaders
>
>
> > If I remember well the MovieClip loader can only load 2 images
> > simultaniously. This also might be a browser restriction.
> >
> >
> > Greetz Erik
> >
> >
> > On 2/12/08, Muzak <[EMAIL PROTECTED]> wrote:
> >>
> >> Get rid of the nested function, avoid it at all times (IMO).
> >>
> >>
> >> var img_mcl:MovieClipLoader;
> >>
> >> function onLoadInit(t:MovieClip) {
> >> main.hideMc(t);
> >> }
> >> function loadImage(imagePath, targetMc) {
> >> var container_mc:MovieClip = targetMc.img_mc;
> >> var loading_mc:MovieClip = targetMc.loading_mc;
> >> img_mcl.loadClip(imagePath,container_mc);
> >> }
> >> img_mcl = new MovieClipLoader();
> >> img_mcl.addListener(this);
> >>
>
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders