# Having Trouble With This Preloader

**URL:** <https://forum.kirupa.com/t/having-trouble-with-this-preloader/16769>\
**Category:** flash\
**Created:** [March 28, 2003, 3:57am UTC](https://forum.kirupa.com/t/having-trouble-with-this-preloader/16769 "2003-03-28T03:57:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sykull](https://avatars.discourse-cdn.com/v4/letter/s/d9b06d/32.png) [@Sykull](https://forum.kirupa.com/u/Sykull)\
**Post date:** [March 28, 2003, 3:57am UTC](https://forum.kirupa.com/t/having-trouble-with-this-preloader/16769/1 "2003-03-28T03:57:35Z")

</div>

I’m trying to make a preloader, and I have the code in the first frame. Then in a layer above that one I have the Loading Animation to play while the preloader is working… But they don’t work…

Any ideas why not?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 28, 2003, 6:46am UTC](https://forum.kirupa.com/t/having-trouble-with-this-preloader/16769/2 "2003-03-28T06:46:25Z")

</div>

Add this code on the 2nd frame

[AS]gotoAndPlay(1);[/AS]

then extend the layer where you have the preloader component by 1 frame.

Hope it helped. 🙂
