User Interaction and More with Events

  • Steve Webster


This chapter covers the following topics:
  • How the ActionScript event model works

  • How to work with event listeners

  • How to use standard input events from the mouse and keyboard to allow for interactivity in your projects

  • The event flow and why it’s useful

One of the facets that makes Flash movies and Flex applications so appealing to users is that developers (you and me) can tap into the Flash Player to handle mouse and keyboard events and provide immediate feedback. All of the projects you’ve looked at so far in this book have been lacking one vital ingredient: user interaction. I’m going to remedy that here and now by taking you on a journey through the magical world of events and event handling.


User Interaction Switch Statement Project Directory Event Object Public Function 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Steve Webster, Todd Yard, and Sean McSharry 2008

Authors and Affiliations

  • Steve Webster

There are no affiliations available

Personalised recommendations