Packagesystem.events
Interfacepublic interface EventListener
Implementors Delegate, EventListenerBatch

The EventListener interface is the primary method for handling events. Users implement the EventListener interface and register their listener on an EventTarget using the addEventListener method. The users should also remove theirEventTarget from its EventTarget after they have completed using the listener.



Public Methods
 MethodDefined By
  
handleEvent(e:Event):void
This method is called whenever an event occurs of the type for which the EventListener interface was registered.
EventListener
Method Detail
handleEvent()method
public function handleEvent(e:Event):void

This method is called whenever an event occurs of the type for which the EventListener interface was registered.

Parameters

e:Event — The Event contains contextual information about the event.