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

Hi,
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 asp.net which do not have issue with the MySQL connection.

Please advise.

Thanks.
tangteng78Asked:
Who is Participating?
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.

dgofmanCommented:
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

http://www.experts-exchange.com/Software/Photos_Graphics/Web_Graphics/Macromedia_Flash/Q_26891644.html
0
tangteng78Author Commented:
Okay. So my existing page using asp.net to connect to the database.

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

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

For example this one:

http://www.aspnet101.com/2007/09/using-mysql-with-asp-net-2/

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);
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

dgofmanCommented:
0
tangteng78Author Commented:
Give me some time to read through. Thanks man :)
0
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?

0
dgofmanCommented:
No, Flex SDF is open source libraries http://opensource.adobe.com/wiki/display/flexsdk/Flex+SDK
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
0

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.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.