
February 1st, 2012, 12:49 PM
|
 |
Plays with fire
|
|
Join Date: Aug 2003
Location: Outside looking in
|
|
|
Flash can't communicate directly with MySQL or anything else on the server for that matter. You will need a server language like PHP to transfer data back and forth.
What I've done is use Flash's ExternalInterface to call Javascipt functions that sending things to PHP which communicates with the database. That sounds like a mess, but it's not hard to set up and gives the user a seamless experience.
You could skip the JS calls and just use PHP as well. Search the web for PHP AS3 and you'll find all kinds of help.
__________________
“Be ashamed to die until you have won some victory for humanity.” -- Horace Mann
"...all men are created equal." -- US Declaration of Independence
|