Today I’ve read on Mike Chanbers blog a post about a newly born library which allows flex2/as3 to connect directly to mysql.
Here’s the link to the project: http://maclema.com/assql/
I must admit some times ago I tried to make a similar thing because I know as3 could speak directly to mysql.. but it was just a test and I sopped immediately the experiments.
About the assql library: this library can be useful if you think to use it in Apollo applications, but never never think to use it on the web!
First of all you need a mysql server which allows connections outside the localhost env, secondly you need to set the database password within the swf file and thirdly you will have queries within the swf too.. bad. Better to stay on amfphp or webservices
Even if a scrambler is provided with this library, it will be quite easy to sniff the password too..
Anyway, awesome library indeed for the Apollo framework!