8. Events and Event Handling

The event model present in ActionScript and, by definition, the Flex framework, is far more robust than the old event model employed in ActionScript 2. For some, the concept of relying on events to manage and direct the flow of your application is a hard one to grasp and accept at first. In this chapter, you see how the event model applies to components and how to shield and dispatch events from your components and their children.

Why Events?

When it comes to component development, events form an important part of the Flex component fabric. Not only because the component framework is built to make extensive use of them, but also because it provides both an internal and external process by which your components can ...

Get Developing Flex 4 Components: Using ActionScript 3.0 and MXML to Extend Flex and AIR Applications now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.