The ability to upload files to a server from Flash was one of the most requested features added in Flash 8. Flash implements this ability through the FileReference class. This tutorial will serve as an introduction to the uploading features of the class and hopefully the example provided will help you on your way towards building your own upload-capable application!
The FileReference class allows Flash to open the familiar file selection dialog box that displays a list of files found on a user's file system. Once a file has been selected, Flash can then begin to upload the file to a remote server. FileReference also provides Flash with some information regarding the file that may be useful to you as a developer. For example, the name, size, and file type/extension can all be accessed through FileReference properties