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

Chapter 8. The Anatomy of Lingo > Messaging and hierarchy

Messaging and hierarchy

Okay; so maybe you speed read over a lot of the stuff at the beginning of this chapter. After all, who reads introductions? Now it's time to start really paying attention, though, because this part is important. Without understanding messages and how Director passes them (message hierarchy), you'll soon get lost and have to come back and read this chapter again.

In Chapter 4 we wrote scripts that functioned when something specific happened—the go to the frame script in the first frame is meant to execute only when the playback head leaves that frame, and the scripts attached to the buttons are supposed to run only when the respective buttons are clicked. These scripts (or behaviors) qualify as objects, and the kind of information they're concerned with is the news that an event has occurred in the course of playback. An event is Director's definition of something happening. That occurrence may be something as straightforward as a key being pressed, or it may be something quite esoteric (at least as far as the user is concerned).


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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