Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint

Dispatching Events

To broadcast an event from a component, you need to use the dispatchEvent() method. This method is defined in the flash.events.EventDispatcher class. Some objects in Flex (for example, the UIComponent), descend directly from EventDispatcher and can dispatch events without any further work.

The following is the inheritance hierarchy of the UIComponent class:


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial