O'Reilly logo

ActionScript 2.0 Language Reference for Macromedia® Flash® 8 by Shimul Rahim, Robert L. Dixon, Jen deHaan, Francis Cheng

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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()

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required