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

Lesson 5. Adding Interactivity > Writing a Lingo Script

Writing a Lingo Script

To write a Lingo script that holds the playback head in place on a frame, you add a script to the behavior channel, also called the script channel. As the playback head moves into a frame that contains a script, Director reads the instructions included in the script and performs them. These instructions are organized into groups of Lingo statements called handlers. Handlers "handle"events such as mouse clicks and keyboard commands, as well as environment changes such as the start of a movie or the entrance or exit of a frame. A handler consists of a set of instructions, grouped like sentences in a paragraph. Every handler begins with on and ends with end.

Here you'll create a handler that causes the menu screen to remain on the stage while Director waits for a button to be clicked.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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