FileReference (flash.net.FileReference)
Object
|
+-flash.net.FileReference
public class FileReference
extends Object
The FileReference class provides a means to upload and download files between a user’s computer and a server. An operating-system dialog box prompts the user to select a file to upload or a location for download. Each FileReference object refers to a single file on the user’s hard disk and has properties that contain information about the file’s size, type, name, creation date, modification date, and creator type (Macintosh only).
FileReference instances are created in two ways:
When you use the new operator with the FileReference constructor: var myFileReference = new FileReference();
When you call FileReferenceList.browse()
Get ActionScript 2.0 Language Reference for Macromedia® Flash® 8 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.