Addlistener (Filereference.addlistener Method) - MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE Reference

Actionscript 2.0 language reference
Table of Contents

Advertisement

Constructor summary
Signature
FileReference()
Method summary
Modifiers
Signature
addListener(listener
:Object) : Void
browse([typelist:Arr
ay]) : Boolean
cancel() : Void
download(url:String,
[defaultFileName:Str
ing]) : Boolean
removeListener(liste
ner:Object) :
Boolean
upload(url:String) :
Boolean
Methods inherited from class Object
addProperty (Object.addProperty
(Object.hasOwnProperty
(Object.isPropertyEnumerable
method),
registerClass (Object.registerClass
(Object.toString
(Object.valueOf
method),

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
560
ActionScript classes
Description
Creates a new FileReference object.
Description
Registers an object to receive notification when a
FileReference event listener is invoked.
Displays a file-browsing dialog box in which the user
can select a local file to upload.
Cancels any ongoing upload or download operation
on this FileReference object.
Displays a dialog box in which the user can download
a file from a remote server.
Removes an object from the list of objects that receive
event notification messages.
Starts the upload of a file selected by a user to a
remote server.
method),
method),
isPropertyEnumerable
method),
method),
unwatch (Object.unwatch
watch (Object.watch method)
hasOwnProperty
isPrototypeOf (Object.isPrototypeOf
method),
toString
method),
valueOf

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents