As we've seen throughout this chapter, the majority of Flash Player's input events are triggered by user interaction with specific objects on the display list. However, Flash Player also supports a small set of events that are triggered by user interaction with the Flash Player application, itself. We'll refer to these "application events" as Flash Player-level input events. Flash Player-level input events are dispatched in the following situations:
When the Flash Player's display area is resized
When the mouse pointer moves out of Flash Player's display area
When the Flash Player application gains or loses operating-system focus (the standalone version of Flash Player gains system focus when the application window is focused; the web browser plug-in version of Flash Player gains system focus when the user clicks Flash Player's display area or—where supported—the user navigates to the embedded Flash Player object with the keyboard)
Example 22-5 lists the Flash Player-level input-event types. For each type of event, the "Event type" column lists the Event-class constant that indicates the event type's official string name. The "Description" column describes the specific user action that triggers the event. The "Target" column lists the object that serves as the event target when the event is dispatched. The "Default behavior" column lists Flash Player's native response to the event (Flash Player-level input-event types have no default behavior). The "Bubbles" ...