loadMovie doesn't support .gif's?

Hey all,

I spent an hour just now trying to figure out some loadMovie problems, and came to the conclusion that Flash cannot load .gif files. Jpg/Jpeg files are just fine, but when it comes to .gif’s, nothing loads.

But then, Jpg’s cannot have the alpha channels (unlike gif’s), so there is always a huge white background around my loaded image. Is there a way to load gif’s since they are much smaller and more robust?

Thanks =)

import them into the library.

File -> Import -> Import to Library

I think flash will allow the png transparency support and it does load png’s…

loadMovie() only supports jpg and swf…

Function; loads a SWF or JPEG file into Flash Player while the original SWF file plays.

If you want to stick to .gif, do as rysolag has said. If you do it that way in an extra .fla, you can load that .swf:)

scotty(-:

Nope, you can’t dynamically load .gifs like you do with .jpg, .mp3, .swf.
By the way, why use “.gif” when “.png” is better when you need tranparencies? :wink:

Also, you can only load non-progressive JPGs.

Aw… that’s too bad. But I tried loading PNG’s into the movie, and nothing happened either. :expressionless:

there’s an entry in Help for loadMovie…

oh my bad, I thought there was something about pngs and jpgs being able to do something but not gif… appearently it wasn’t this :stuck_out_tongue: