Adobe AIR 1.0 and later
The FileStream class defines methods for opening, reading, and writing files.
FileStream open modes
Initializing a FileStream object, and opening and closing files
The position property of a FileStream object
The read buffer and the bytesAvailable property of a FileStream object
Asynchronous programming and the events generated by a FileStream object opened asynchronously
Data formats, and choosing the read and write methods to use