
The latest update to Macromedia Flash MX 2004 adds new file I/O capabilities
to the JavaScript API (JSAPI). The shared library installed with
the Flash MX 2004 7.2 Updater exposes a new FLfile object
to JavaScript Flash (JSFL). This object contains 14 new functions
that enable Flash developers to write Flash extensions that can access,
modify, and remove files and folders on the local file system.
In this article I introduce you to the new functionality of the File API and show you how to implement it in your JSFL scripts.
Note: This article discusses extending the functionality of the Flash authoring environment through the extensibility layer and JSFL. It does not apply to Macromedia Flash Player, or adding File I/O capabilities to SWF files.
To complete this tutorial, you will need to install the following software:
A basic understanding of JSFL syntax, the Flash authoring environment, and familiarity with JavaScript.