[Flashcoders] Read and save xml file on disk

2014-02-09 Thread natalia Vikhtinskaya
Hi to all friends I have to create stand alone application that can read xml file then after editing save it on the disk. I need to do that by FlashCs6. I know that FileReference.load() : Loads data from a file selected by the user. FileReference.save() : Saves data to a file location selected by

Re: [Flashcoders] Read and save xml file on disk

2014-02-09 Thread John R. Sweeney Jr.
Hi, I presume your building an AIR app, so look into File.applicationStorageDirectory and resolvePath. You can read and write behind the scenes without user intervention. John R. Sweeney Jr. Senior Interactive Multimedia Developer OnDemand Interactive Inc Hoffman Estates, IL 60169

RE: [Flashcoders] Read and save xml file on disk

2014-02-09 Thread dave
Natalia, You can use the File (see e.g. applicationDirectory or resolvePath) and Filestream (open, readx, and writex) functions, but these are only available if you're using Air (other wrappers like Zinc have similar functionality). If it's an executable created by simply Publishing with Flash