PDA

View Full Version : MySQL, Flash, PHP, and AS2



infestor1
May 12th, 2009, 09:18 PM
I know this is possible, but I have no idea how to do it. How can I hook up a Flash login system which logs in to a Flash game to a MySQL database, so my testers can save their game to the database.

Thanks in advance.

kunjan
May 19th, 2009, 04:31 AM
hello,

Login system with flash is possible,

first load one swf file in which user should allow to enter username/password after after that on login button click event call another php file with parameter username & password, in this php file make connectivity with mysql and check username & password with database value then put the condition like

if(valid)
call swf file in which game is loaded
else
call swf file which give message "login failer"...

please tell me in details what do you mean by game saving..

what I gusse is you want to save statistics data, it possible and easy also

get back to me if you have any query...

Regards,
Kunjan.