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

Chapter 17. Scripting Lingo > Understanding Scripts

Understanding Scripts

A Lingo script is a set of instructions that you write in a script window to tell Director how your movie should respond when specific events occur during play. Examples of events include user input through the mouse and keyboard. Other events are non-input-oriented, such as the playback head entering a new frame. (Events are discussed in detail in "Understanding Handlers, Messages, and Events" later in this chapter

The instructions in a Lingo script are organized into handlers. Each handler starts with the word on and ends with the word end. The word after on is the specific event the handler should respond to (such as on mouseDown). Handlers are discussed in "Understanding Handlers, Messages, and Events" later in this chapter


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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