# Flash with PHP

**URL:** <https://forum.kirupa.com/t/flash-with-php/101533>\
**Category:** Uncategorized\
**Created:** [February 11, 2004, 12:54am UTC](https://forum.kirupa.com/t/flash-with-php/101533 "2004-02-11T00:54:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ACJavascript](https://avatars.discourse-cdn.com/v4/letter/a/7993a0/32.png) [@ACJavascript](https://forum.kirupa.com/u/ACJavascript)\
**Post date:** [February 11, 2004, 12:54am UTC](https://forum.kirupa.com/t/flash-with-php/101533/1 "2004-02-11T00:54:49Z")

</div>

Hello All,

Okay I am wanting to pull in the total Number of members on our website through flash. (so as I can animate the number)

Now, I can pull the info in but the problem is the script takes about 1-2 seconds to pull the info of the MYSQL database, and by the time it is put into the dynamic text field in flash that animation is half over.

I downloaded a Poll in Flash that worked with PHP and MYsql so that I could see how they did it, but to no avial I cannot get it to FIRST load then display. So could you please help me!!! Anybody!

This is what I have now:

Frame 1 Starts to load the script to get variables (code I use):

loadVariables(“flash\_getMembers.php”,“dummy”,“GET”);  
stop();

On Frame 1 I have some text saying loading. This text I turn into a Instance named dummy - I then put this code in the instance:

onClipEvent(data){  
\_root.nextFrame();  
}

on Frame 2 I place the text field that should display that data from the script.

Please is there a problem with any of this code, or somthing you can suggest??

Thanks for anyones help!
