Alright, I will try to be as detailed as possible..I am working on a multiplayer game ( www.battlebubes.com
).. the way the game works is that there a bunch of sections...every time the player goes to a section...the flash file(AS2-flash 8) sends info to 2 different php files, which in turn connect to the mysql database...then the php file sends the info back to flash...this all works fine...until you try to do things to quickly(the easiest example is if I try to reload a section a bunch of times--the first 5 or 6 times..everything works fine...but then it gets progressively slower)
At first I thought it was a problem with my php or mysql...but then I did a test where I set variables for all the times in the frames and in the php code.
It turned out that the php and mysql were fine, but as you can see below, the times inbetween frames where I send and recieve info from the php files are where all the time is taking(the following are the results after I reloaeded the section about 10 times...they get longer and longer if I keep reloading)
Frame 1 and 4 is where the loadVariablesNum is
frametime1 = 1239834050.984 -
frametime2 = 1239834055.843 -
frametime3 = 1239834055.921 -
frametime4 = 1239834056.015 -
frametime5 = 1239834061.671 -
frametime6 = 1239834061.765 -
what could be some possible reasons?