# Preloader

**URL:** <https://forum.kirupa.com/t/preloader/3577>\
**Category:** Uncategorized\
**Created:** [January 21, 2002, 10:43am UTC](https://forum.kirupa.com/t/preloader/3577 "2002-01-21T10:43:27Z")\
**Posts on this page:** 2\
**Page:** 1

<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:** [January 21, 2002, 10:43am UTC](https://forum.kirupa.com/t/preloader/3577/1 "2002-01-21T10:43:27Z")

</div>

[www.black-ops.dk](http://www.black-ops.dk)  
Its a page for a Onlinge game Squad, for Delta force Landwarrior. where there is a statistik running ASP/FLASH.  
took me a while to make it work.  
now how do I make a preloader wait until ASP is done ?  
go to site and click on stats

thx

---

<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:** [January 22, 2002, 6:14am UTC](https://forum.kirupa.com/t/preloader/3577/2 "2002-01-22T06:14:30Z")

</div>

If you’re reading from an ASP you can do a couple things.  
A) if your movie is using an onMovieClip(); command to function, loadVariables(); command, then you can add onClipEvent(data){  
gotoAndPlay(myStartingFrame);  
}

on clip event “data” will exicute when ever data completes it’s load into the flash player.

In addition to that, you can simply put a variable at the end of your ASP, something like

flagLoaded=true;

then in your FLA you could use something thing  
if (flagLoaded==true){  
gotoAndPlay(myStartingFrame);  
}

Both of these methods seem to work… though I’m only just starting to explore them myself.
