View comments | RSS feed

EventDispatcher class (API)

ActionScript Class Name mx.events.EventDispatcher

Method summary for the EventDispatcher class

The following table lists the methods of the EventDispatcher class.

Method

Description

EventDispatcher.addEventListener()

Registers a listener with a component instance.

EventDispatcher.dispatchEvent()

Dispatches an event programmatically.

EventDispatcher.removeEventListener()

Removes an event listener from a component instance.


Version 8

Comments


Kimscho said on Apr 25, 2006 at 3:15 AM :
How about some tips about how to implement the EventDispatcher class on your own classes?

Shouldn't the initialize() method be mentioned too?
MCR said on Apr 26, 2006 at 2:46 AM :
This page does not mention the initialize(Object:Object) method which is used, from looking at the class code to

"add listening and dispatching methods to an object"

 

RSS feed | Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/flash/8/main/00003473.html