Skip to main content

Working with the file system

Flash® Player provides basic file reading and writing capabilities, via the FileReference class. For security reasons, when running in Flash Player, the user must always grant permission before you can read or write a file.

Adobe® AIR® provides more complete access to the file system of the host computer than is available in Flash Player. Using the AIR file system API, you can access and manage directories and files, create directories and files, write data to files, and so on.

More Help topics

flash.net.FileReference

flash.net.FileReferenceList

flash.filesystem.File