Adobe AIR 1.0 and later
The FileStream class lets AIR applications read and write to the file system.
Workflow for reading and writing files
Working with FileStream objects
Using the load() and save() methods
Example: Reading an XML file into an XML object
Example: Reading and writing data with random access