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

Chapter 4. Introducing Interactivity > Many paths, one result

Many paths, one result

Interactivity, like many aspects of Director, can be accomplished in a number of ways. They all boil down to Lingo scripts; but for you, the author, there are several paths for creating scripts and several ways of viewing them. You have the Library Palette, which supplies drag-and-drop prebuilt behaviors. You have the Behavior Inspector, which lets you build behaviors a step at a time. You have the script editors, which let you write the scripts a line at a time.

What's a behavior?

So exactly what is a behavior? As mentioned in the last chapter, it's basically a Lingo script. And a Lingo script is a sequence of Lingo commands that are executed at (hopefully) appropriate times and that supply complexity to a movie that would not otherwise be possible.

Technically, a behavior is any script that is attached to a sprite or a frame in the behavior channel. That leaves Cast scripts, which are attached to Cast members, and movie scripts, which are Cast members but not attached to anything. The distinction is a bit blurry since they're all Lingo scripts. You'll have to be a bit forgiving if we slip in a Cast script when we seem to be talking about behaviors, or vice versa. Well, it's all about adding interactivity.

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