How do i connect to MySQL from Flash Action Script 3?

Currently i'm designing my website using Flash AS3. And i'm wondering how to connect and update a database in MySQL from AS3?

PS: My existing website is using which do not have issue with the MySQL connection.

Please advise.

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

If you are not using AIR you must implement databaase connection on the server side and transfer data via XML, JSON or Text.

Check my old thread
tangteng78Author Commented:
Okay. So my existing page using to connect to the database.

So i guess the right question should be, how do i transfer the data from flash to I hope i get the question right.

PS: Btw, i don't see the answer in your thread above. Sorry.
That shouldn't be problem for you.
You can find on Google hundreds examples

For example this one:

Now when you got connection with MySQL you can use my select statement to get XML from database.

For ASP.NET better to use HTTPServeces and pass XML data to Flex

On the Flex side you need convert XML to XMLLIst, new XMLList(xmlData);
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

tangteng78Author Commented:
Give me some time to read through. Thanks man :)
tangteng78Author Commented:
Hi dgofman,
Does the Flex comes with Adobe Flash CS5 (i'm using this version)?

Or it's a separate download and standalone application?

No, Flex SDF is open source libraries
Flex/Flash Builder is Adobe is IDE cost from $300-$700
But you can use FlashDevelop is Open Source IDE for Windows

As you know all CS5 are very expensive products

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Adobe Flash

From novice to tech pro — start learning today.