Web Hosting Talk







View Full Version : Does Actionscript support MySQL?


Geeksterman
11-19-2004, 11:04 PM
Just wondering if flash's actionscript has support for mysql databases. Thanks.

Burhan
11-20-2004, 02:28 AM
No, it does not.

sequenced
11-20-2004, 08:18 PM
As far as I know, Actionscript is client-side scripting.
That means, script have no access to server resources.
You can try to do something with php. For example, php can export data to XML file, and then AS can parse that XML. Sorry if I'm wrong with that client-side thing, maybe Macromedia made server-side part too :)

ActivI
11-20-2004, 09:00 PM
Humm I think the latest Flash MX 2004 Pro, and Pro version only, supports all major databases as well as WebServices. WS I'm sure it supports because I've been reading about it :P

Anyway if you want to load DB data into flash you can use the LoadVars, which will save you a couple of dollars by not buying the professional licence. There's a tun of info about it on google, if you search for it.
LoadVars works with all major server side languages (.Net, PHP, etc)

Regards