Flash CS3 Documentation |
|||
| ActionScript 2.0 Language Reference > ActionScript classes > FileReferenceList (flash.net.FileReferenceList) > 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
fileRefList:FileReferenceList - The FileReferenceList object that initiated the operation.
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();
browse (FileReferenceList.browse method)
Flash CS3
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/flash/9.0/main/00001685.html