# Perplexing preloader problem

**URL:** <https://forum.kirupa.com/t/perplexing-preloader-problem/308907>\
**Category:** flash\
**Created:** [May 3, 2010, 4:47am UTC](https://forum.kirupa.com/t/perplexing-preloader-problem/308907 "2010-05-03T04:47:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![stmad10](https://avatars.discourse-cdn.com/v4/letter/s/3ab097/32.png) [@stmad10](https://forum.kirupa.com/u/stmad10)\
**Post date:** [May 3, 2010, 4:47am UTC](https://forum.kirupa.com/t/perplexing-preloader-problem/308907/1 "2010-05-03T04:47:22Z")

</div>

well probably only for a newbie…

I’m setting up a small website for my fledgling photography business, and I’m having problems with the preloader for my gallery.

Here’s my preloader problem…

[http://conceptsmith.com.au/csgallerywpreloader.swf](http://conceptsmith.com.au/csgallerywpreloader.swf)

And the gallery without the preloader…

[http://conceptsmith.com.au/csgallery.swf](http://conceptsmith.com.au/csgallery.swf)

It seems I need to somehow get the preloader out of the loop once the gallery has loaded? Here’s my AS for the preloader…

[FONT=Arial]preloader as frame 19 [/FONT]

[FONT=Arial]ifFrameLoaded(“main”, 256) {[/FONT]  
[FONT=Arial] gotoAndPlay(“main”, 1);[/FONT]  
[FONT=Arial]}[/FONT]

[FONT=Arial]preloader as frame 20[/FONT]

[FONT=Arial]gotoAndPlay(1);[/FONT]

Here’s how my flash page is set up…

[http://conceptsmith.com.au/flash.jpg](http://conceptsmith.com.au/flash.jpg)

Any help would be much appreciated!

Steve
