EasyManua.ls Logo

MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE - Oncancel (Filereferencelist.oncancel Event Listener); Onselect (Filereferencelist.onselect Event Listener)

MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE
1378 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
592 ActionScript classes
onCancel (FileReferenceList.onCancel event
listener)
onCancel = function(fileRefList:FileReferenceList) {}
Invoked when the user dismisses the file-browsing dialog box. (This dialog box is displayed
when you call the
FileReferenceList.browse(), FileReference.browse(), or
FileReference.download() methods.)
Availability: ActionScript 1.0; Flash Player 8
Parameters
fileRefList:flash.net.FileReferenceList - The FileReferenceList object that initiated
the operation.
Example
The following example demonstrates the
onCancel listener.
import flash.net.FileReferenceList;
var listener:Object = new Object();
listener.onCancel = function(fileRefList:FileReferenceList) {
trace("onCancel");
}
var fileRef:FileReferenceList = new FileReferenceList();
fileRef.addListener(listener);
fileRef.browse();
See also
browse (FileReferenceList.browse method)
onSelect (FileReferenceList.onSelect event listener)
onSelect = function(fileRefList:FileReferenceList) {}
Invoked when the user selects one or more files to upload from the file-browsing dialog box.
(This dialog box is displayed when you call the
FileReferenceList.browse(),
FileReference.browse(), or FileReference.download() methods.) When the user
selects a file and confirms the operation (for example, by clicking Save), the FileReferenceList
object is populated with FileReference objects that represent the files selected by the user.
Availability: ActionScript 1.0; Flash Player 8

Table of Contents

Related product manuals