User Guide

500 EventDispatcher class
Some event object properties are defined in the W3C specification (www.w3.org/TR/DOM-
Level-3-Events/events.html) but arent implemented in version 2 of the Macromedia
Component Architecture. Every version 2 event object has the properties listed in the table
below. Some events have additional properties defined, and if so, the properties are listed in
the events entry.
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.
Property Description
type
A string indicating the name of the event.
target
A reference to the component instance broadcasting
the event.
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.