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.download()
Availability: ActionScript 1.0; Flash Player 8
Parameters
fileRefList:flash.net.FileReferenceList
the operation.
Example
The following example demonstrates the
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
FileReference.browse()
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
592
ActionScript classes
methods.)
onCancel
FileReferenceList.browse()
, or
FileReference.download()
,
FileReference.browse()
- The FileReferenceList object that initiated
listener.
methods.) When the user
, or
,
Need help?
Do you have a question about the FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE and is the answer not in the manual?