# Preloader

**URL:** https://forum.kirupa.com/t/preloader/295810
**Category:** Uncategorized
**Created:** [September 4, 2009, 5:30pm UTC](https://forum.kirupa.com/t/preloader/295810 "2009-09-04T17:30:20Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![AcolyTe](https://avatars.discourse-cdn.com/v4/letter/a/50afbb/32.png) [@AcolyTe](https://forum.kirupa.com/u/AcolyTe)
#### Post date: [September 4, 2009, 5:30pm UTC](https://forum.kirupa.com/t/preloader/295810/1 "2009-09-04T17:30:20Z")

</div>

Hi everyone, ive come across a slight problem whilst working on a website project.

The main part is an xml driven photo gallery, whereby the stage is set to export for external as file to control the gallery.

Now, when i insert the stop(); command in the as, the gallery will stop functioning.

This causes a slight problem in making a preloader, which should be on a seperate frame so as to not load the whole swf before loading the preloader, but if i cant use the stop(); command, then the whole swf becomes dodgy looping thru the 1st preloader frame.

Also, exporting classes in frame 2 does not seem to do the trick.

Is there a different way to add a preloader to the swf?

Thanks in advance.
