# Animated gif in Flash

**URL:** <https://forum.kirupa.com/t/animated-gif-in-flash/264259>\
**Category:** Uncategorized\
**Created:** [June 24, 2008, 2:08pm UTC](https://forum.kirupa.com/t/animated-gif-in-flash/264259 "2008-06-24T14:08:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![artcoder](https://avatars.discourse-cdn.com/v4/letter/a/3ec8ea/32.png) [@artcoder](https://forum.kirupa.com/u/artcoder)\
**Post date:** [June 24, 2008, 2:08pm UTC](https://forum.kirupa.com/t/animated-gif-in-flash/264259/1 "2008-06-24T14:08:23Z")

</div>

If I load animated GIF via …

```auto

_root.myloader.loadMovie("p1.GIF");

```

will I see the animation in the final SWF. Or do I have to animated the GIF in Flash? I am using AS2 in Flash 8.

---

<div class="post-metadata">

**Author:** ![takethetrain](https://avatars.discourse-cdn.com/v4/letter/t/ba8739/32.png) [@takethetrain](https://forum.kirupa.com/u/takethetrain)\
**Post date:** [June 24, 2008, 3:17pm UTC](https://forum.kirupa.com/t/animated-gif-in-flash/264259/2 "2008-06-24T15:17:41Z")

</div>

The loadMovie method will only show the first frame, sadly. But if you import the GIF into a Flash file with File \> Import \> Import to Stage, Flash will automatically separate each frame on the timeline for you, essentially animating the GIF in Flash. You could save this animation in a movieclip and attach to the stage dynamically (or just drag it on to the stage of course), or if you want to load it from an external file, publish the animation as a SWF, and load _that_ file with loadMovie.
