![]() ![]() ![]() | |
![]() | |
![]() | |
![]() |
ActionScript class namespace mx.events.EventDispatcher; mx.events.UIEventDispatcher
Events allow you to know when the user has interacted with a component, and also to know when important changes have happened in the appearance or life cycle of a component, such as the creation or destruction of a component or if its size changes.
Each component broadcasts different events and those events are listed in each component entry. There are several ways to use component events in ActionScript code. For more information, see About component events.
Use the UIEventDispatcher.addEventListener()
to register a listener with a component instance. The listener is invoked when a component's event is triggered.
![]() | |
![]() | |
![]() | |
![]() ![]() ![]() |