EasyManua.ls Logo

MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE - Addlistener (Asbroadcaster.addlistener Method)

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...
266 ActionScript classes
Property summary
Properties inherited from class Object
Method summary
Methods inherited from class Object
addListener (AsBroadcaster.addListener method)
public addListener(listenerObj:Object) : Boolean
Registers an object to receive event notification messages. This method is called on the
broadcasting object and the listener object is sent as an argument.
Availability: ActionScript 1.0; Flash Player 6
Modifiers Property Description
_listeners:Array
[read-only]
A list of references to all registered listener objects.
constructor (Object.constructor property), __proto__ (Object.__proto__
property), prototype (Object.prototype property), __resolve
(Object.__resolve property)
Modifiers Signature Description
addListener(listener
Obj:Object) :
Boolean
Registers an object to receive event notification
messages.
broadcastMessage(eve
ntName:String) :
Void
Sends an event message to each object in the list of
listeners.
static initialize(obj:Objec
t) : Void
Adds event notification and listener management
functionality to a given object.
removeListener(liste
nerObj:Object) :
Boolean
Removes an object from the list of objects that receive
event notification messages.
addProperty (Object.addProperty method), hasOwnProperty
(Object.hasOwnProperty method), isPropertyEnumerable
(Object.isPropertyEnumerable method), isPrototypeOf (Object.isPrototypeOf
method), registerClass (Object.registerClass method), toString
(Object.toString method), unwatch (Object.unwatch method), valueOf
(Object.valueOf method), watch (Object.watch method)

Table of Contents

Related product manuals