Peak Studios has releaseed a new Flash CS3 extention. The extension install a new pannel for flash. The panel create all the PHP needed for interaction with MySQL. It then allows the user to create all the ActionScript needed for AS2 or AS3. The extension creaes select, update, insert and delete functions. You can use joins and set tons of operators to your where clause.
Peak Studios has a free version 1.0 (Select for AS3 only) and a pro version 2.1(Fully functioning.
They have a a few really nice video tutorials for you to learn how to use the extension.
Check it out at http://peakstudios.com
Really cool stuff check it out!