guille.soft
04-21-2006, 08:22 PM
Hi,
I am building a game in Flash and I am having a little of trouble with the Highscore table. I am able to send and get information from the database fine but when I send a score it reloads the php page and therefore the swf goes back to the begining.
I would like to be able to send the data to the database without having to reload the page. Is that possible?
Right now I am using this following code to send the variables to the PHP file :
var dataOut:LoadVars = new LoadVars();
dataOut.send("eat_bones.php","_self", "POST");
Thank you very much for your help !!
Guille Soft
I am building a game in Flash and I am having a little of trouble with the Highscore table. I am able to send and get information from the database fine but when I send a score it reloads the php page and therefore the swf goes back to the begining.
I would like to be able to send the data to the database without having to reload the page. Is that possible?
Right now I am using this following code to send the variables to the PHP file :
var dataOut:LoadVars = new LoadVars();
dataOut.send("eat_bones.php","_self", "POST");
Thank you very much for your help !!
Guille Soft