Using the native file system API
The OpenFL native file system API includes the following classes:
The file system API lets you do the following (and more):
Copy, create, delete, and move files and directories
Get information about files and directories
Read and write files
More Help topics
- Native file system basics
- Working with File objects in OpenFL
- Getting file system information
- Working with directories
- Working with files
- 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
- Using the load() and save() methods