Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
To utilize the filesystem within your Flash mobile applications on a mobile device using AIR, you first need to familiarize yourself with the core classes involved in the API, and pay particular attention to how one points to files and directories in the filesystem.
The File and FileStream classes are the key classes that you can use to gain access to the filesystem data on the mobile device using AIR. Both files are located in the flash.filesystem package.
To use the File class in an ActionScript Mobile project, you need to import the class using the following statement:
import flash.filesystem.File;
Similarly, to use the FileStream class in an AS project, you need to import the class using the following statement: