Using the Behavior inspector is a good way to learn Lingo. You can examine the scripts created by
the Behavior inspector to see how basic functions are assembled. Select any behavior and click the
Script button to view the associated Lingo script.
All behaviors detect an event and then perform one or more actions in response. The Behavior
inspector lists the most common events and actions used in behaviors.
For experienced Lingo programmers, the Behavior inspector also provides a shortcut for writing
simple scripts.
Note: To always edit behaviors in the Script window instead of the Behavior inspector, select Edit > Preferences >
Editors. In the Editors Preferences dialog box, select Behaviors from the list and then click Edit. In the Select Editor
box, select Script Window.
To create or modify a behavior:
Do one of the following:
1
•
To create a new behavior, click the Behaviors pop-up menu, select New Behavior, and enter a
name for the new behavior.
The behavior appears in the currently selected Cast window in the first empty position. Select
an empty cast position first if you want the behavior to appear in a different place.
•
To modify a behavior, select it in the Behavior inspector.
362
Chapter 14
Need help?
Do you have a question about the DIRECTOR MX-USING DIRECTOR MX and is the answer not in the manual?
Questions and answers