EventBroadcaster
dispatches events to all added listeners with the help
of an EventInfo.
public function dispatch(event:EventInfo):Void
Dispatches the passed-in event
to all added listeners.
The name returned by the EventInfo.getName method of the passed-in
event
is used as event method name to invoke on the listeners.
The passed-in event
is also passed as parameter to the listeners'
event methods.
event | the event to dispatch to all listeners |
EventExecutionException | if a listener threw an exception during dispatching |