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 the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.