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

Actionscript 2.0 language reference
Table of Contents

Advertisement

Property summary
Modifiers
Property
_listeners:Array
[read-only]
Properties inherited from class Object
constructor (Object.constructor
property),
prototype (Object.prototype
(Object.__resolve property)
Method summary
Modifiers
Signature
addListener(listener
Obj:Object) :
Boolean
broadcastMessage(eve
ntName:String) :
Void
static
initialize(obj:Objec
t) : Void
removeListener(liste
nerObj:Object) :
Boolean
Methods inherited from class Object
addProperty (Object.addProperty
(Object.hasOwnProperty
(Object.isPropertyEnumerable
method),
registerClass (Object.registerClass
(Object.toString
(Object.valueOf
method),

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
266
ActionScript classes
Description
A list of references to all registered listener objects.
property),
Description
Registers an object to receive event notification
messages.
Sends an event message to each object in the list of
listeners.
Adds event notification and listener management
functionality to a given object.
Removes an object from the list of objects that receive
event notification messages.
method),
method),
isPropertyEnumerable
method),
method),
unwatch (Object.unwatch
watch (Object.watch method)
__proto__ (Object.__proto__
property),
__resolve
hasOwnProperty
isPrototypeOf (Object.isPrototypeOf
method),
toString
method),
valueOf

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE and is the answer not in the manual?

This manual is also suitable for:

Flash 8

Table of Contents

Save PDF