GIF in Flash

Is there no way that flash can load in GIF pictures or PNG pictures into a movie clip dynamically?

Currently I have to make sure the file isn’t a GIF or PNG when allowing people to look at pics in code otherwise nothing happens?