Flash CS4 - xml

I need some tutorials that demonstrate how to read in and also write out XML files.

I am wanting to write a game in Flash CS4 / AS 3.  Just a simple turn-based game like chess or checkers.  But I want the ability to save the game state off to disk.

Thank you!

Tom KnowltonWeb developerAsked:
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.

flash on its on cannot write to your hard drive.
do you have any experience creating application using adobe air?

Tom KnowltonWeb developerAuthor Commented:
>>>>do you have any experience creating application using adobe air?

Tom KnowltonWeb developerAuthor Commented:
I have CS4 but it does not seem to have Adobe AIR ...  it does have Adobe Flash CS4 though....
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

Tom KnowltonWeb developerAuthor Commented:
It would be okay if I could just write to the server hosting the web page...it does not have to be on the local hard drive.
if your going to use it on a website php is a great option for editing external files. please try this link below

If you are developing online Application you have three options.

1) Save 10 MB xml data on the local machine using SharedObject API


2) Request user to save data on button click event (you cannot save without mouse iteration)


3) Save data on the server side using HTTP request

If you are developing application for desktop you can use Adobe AIR and save data using File API(s)

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
Tom KnowltonWeb developerAuthor Commented:
Can Adobe AIR apps communicate with web services?
Yes, you have all existing ActionScript API's + additional only AIR such as crossdomain access and local read and write.
Unless it is the critical thing that you have to secure the data, using a SharedObject that dgofman has suggested should do the job.

This probably explains everything you need to know to use SharedObject for your need.

Tom KnowltonWeb developerAuthor Commented:
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.