flash and sql database (Action script 3)

I am new to flash and will like to learn how i can use it with a database. Could you point me to links or tutorials if you have any? I am an asp.net developer and use sql server very well.

SirdotsAsked:
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:
Please review this answer I have simple solution how to get data from DB to Flash using XML

http://www.experts-exchange.com/Software/Photos_Graphics/Web_Graphics/Macromedia_Flash/Q_26891644.html
0
SirdotsAuthor Commented:
When I click on all the links, they return blank pages. Do you know why?
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:
Did you login to EE website? Can you try another browser?
0
SirdotsAuthor Commented:
Yes I logged in. I will try firefox now. I use IE.
0
SirdotsAuthor Commented:
Thanks. I saw the links. It looks good but does not answer my question. I am not a php developer. I am also not using flex. I only use  flash cs5.5 and actions script 3. I am a beginner in flash
0
SirdotsAuthor Commented:
I guess what am looking for is how to retrieve data from a database and pass to flash, then modify the data in flash and then pass back to the database.  I just want to know where to write the queries and how to set my connection strings to the database.
0
dgofmanCommented:
@Sirdots:
You have to create SQL query similar to my example on ASP and pass to Flash.
0
dgofmanCommented:
I don't know what the database you are using MS SQL or other
0
SirdotsAuthor Commented:
Yes I use ms sql server 2008
0
dgofmanCommented:
Using MS SQL it's easy you have to add "FOR XML" keyword

Check this link

http://www.sqldbatips.com/showarticle.asp?ID=23

as soon as you will retrive XML you can find on Google or using EE millions examples how to parse XML on Flash
0
SirdotsAuthor Commented:
ok thanks. when I write my sql query to write the xml file, am i storing the xml file in a folder where the fla file exists or can I have a xml variable in flash and then call the url which returns me a xml file and then pass the xml file to the variable. Is this how it works?
0
dgofmanCommented:
No, you don't need to write into local drive you have to strem to the Flash using Response.Write

Modify

set @xml = (
   select * from Orders
   for xml auto,elements,root('AllOrders'))
   
Response.Write(@xml)

Here is first tutorial what I found on Google as I mention you can find millions


http://www.kirupa.com/developer/actionscript/forms_database.htm
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
SirdotsAuthor Commented:
Thanks for all your help.
0
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.