Event Handling Contributed by David Stiller (www.quip.net)

WHEN SOMETHING OCCURS in a Flash movie, the occurrence is called an event. Events can be triggered by something in the Flash Player itself (system events) or by interaction from the person enjoying your content (user events). System events include, for example, the completion of an audio file or the incidence of a timeline frame. Let’s explore that second one for a moment. Think of the playhead in terms of a car. When the playhead moves along the timeline, like a car driving along the street, it dispatches an “enter frame” event at a rate comparable to the movie’s frame rate (by default, 12 frames per second). The event is simply a behind-the-scenes message that states, “Hey, I just entered ...

Get How to Cheat in Adobe Flash CS4 now with O’Reilly online learning.

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