• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 15. Scripting Lingo > Understanding Events and Handlers

Understanding Events and Handlers

A Director movie may be thought of as a series of events—things that happen on the Stage or in the Score. Some events are automatic, such as the playhead entering a new frame. Other events are user-initiated—for example, a click of the mouse button or the pressing of a key on the keyboard.

Whenever an event occurs, Director generates a one-word message acknowledging the event. (For example, when the mouse button is released, Director generates the message “mouseUp.”) The user doesn’t see these messages; they’re solely for internal communication within Director. Table 15.1 shows a list of common events that can occur while a movie is playing and the messages those events generate.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint