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: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)


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