User Guide

560 ActionScript classes
Constructor summary
Method summary
Methods inherited from class Object
addListener (FileReference.addListener method)
public addListener(listener:Object) : Void
Registers an object to receive notification when a FileReference event listener is invoked.
Availability: ActionScript 1.0; Flash Player 8
Signature Description
FileReference() Creates a new FileReference object.
Modifiers Signature Description
addListener(listener
:Object) : Void
Registers an object to receive notification when a
FileReference event listener is invoked.
browse([typelist:Arr
ay]) : Boolean
Displays a file-browsing dialog box in which the user
can select a local file to upload.
cancel() : Void Cancels any ongoing upload or download operation
on this FileReference object.
download(url:String,
[defaultFileName:Str
ing]) : Boolean
Displays a dialog box in which the user can download
a file from a remote server.
removeListener(liste
ner:Object) :
Boolean
Removes an object from the list of objects that receive
event notification messages.
upload(url:String) :
Boolean
Starts the upload of a file selected by a user to a
remote server.
addProperty (Object.addProperty method), hasOwnProperty
(Object.hasOwnProperty method), isPropertyEnumerable
(Object.isPropertyEnumerable method), isPrototypeOf (Object.isPrototypeOf
method), registerClass (Object.registerClass method), toString
(Object.toString method), unwatch (Object.unwatch method), valueOf
(Object.valueOf method), watch (Object.watch method)