Dispatching events

In the body of your component's ActionScript class file, you broadcast events using the dispatchEvent() method. The signature for the dispatchEvent() method is as follows:

dispatchEvent(eventObj)

The eventObj parameter is the event object that describes the event (see Using the event object.)