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!