Parameters
- An object that listens for a callback notification from the
listener:Object
FileReferenceList event listeners.
Returns
- Returns
Boolean
true
Example
The following example demonstrates the
import flash.net.FileReferenceList;
var listener:Object = new Object();
listener.onCancel = function(fileRefList:FileReferenceList) {
trace("onCancel");
trace(fileRefList.removeListener(this)); // true
}
listener.onSelect = function(fileRefList:FileReferenceList) {
trace("onSelect: " + fileRefList.fileList.length);
}
var fileRef:FileReferenceList = new FileReferenceList();
fileRef.addListener(listener);
fileRef.browse();
Function
Object
|
+-Function
public dynamic class Function
extends Object
Both user-defined and built-in functions in ActionScript are represented by Function objects,
which are instances of the Function class.
Availability: ActionScript 1.0; Flash Player 6
594
ActionScript classes
if the object is removed. Otherwise, this method returns
removeListener
method.
.
false
Need help?
Do you have a question about the FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE and is the answer not in the manual?