CHAPTER 6

image

User Interaction and More with Events

This chapter covers the following topics:

  • How the ActionScript event model works
  • How to work with event listeners
  • How to use input events from the mouse and keyboard to allow 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 ...

Get Foundation ActionScript 3, Second Edition now with O’Reilly online learning.

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