Choosing the Right Event Handler

Using event handlers properly presents one of the biggest challenges for ActionScript usersperhaps because most of us haven't given much thought to how things happen around us, and how to apply what we know when we create interactive environments. However, being mindful of how things and people interact in the real world can go a long way toward helping you re-create such interactions in your Flash movies.

As we introduce you to Flash's many event handlers, we'll examine some of the ways in which their use can be translated into real-world events. As you review these events, remember what you learned at the beginning of this lesson: in Flash, for every event, there is an action (or reaction).

NOTE

Later in the lesson we'll discuss event handler methods, which are an extension of the standard event handlers.