Flash not loading .gif

So I have an .swf created that imports images from the server via xml. It loads jpeg’s fine, but for some reason it won’t load a .gif, the .gif isn’t corrupt or misspelled.

Here’s the AS we use to load the images.

image_mcl = new MovieClipLoader();
 image_mcl.addListener(tlistener);
 image_mcl.loadClip(thumbnails[k], "thumbnail_mc.t"+k);

Make sure your gif is non-animated, and test it with Flash Player 8 or later.

Done and done, no dice.

image_mcl.loadClip(thumbnails[k], “thumbnail_mc.t”+k);

That won’t work.

depending on where your mcl loadClip method is called, I’d suggest doing something like


var target:MovieClip = this.thumbnail_mc["t"+k];
image_mcl.loadClip(thumbnails[k], target);

Obviously if ‘this’ is targetting something else because of where you are calling the loadclip, you might want to change it to the appropriate container.