EasyManua.ls Logo

MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE - Function

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...
594 ActionScript classes
Parameters
listener:Object - An object that listens for a callback notification from the
FileReferenceList event listeners.
Returns
Boolean - Returns true if the object is removed. Otherwise, this method returns false.
Example
The following example demonstrates the
removeListener method.
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

Table of Contents

Related product manuals