Chapter 14
362
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:
1
Do one of the following:
•
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.
Summary of Contents for DIRECTOR MX-USING DIRECTOR MX
Page 1: ...Using Director MX Macromedia Director MX...
Page 12: ...Contents 12...
Page 156: ...Chapter 4 156...
Page 202: ...Chapter 6 202...
Page 244: ...Chapter 7 244...
Page 292: ...Chapter 10 292...
Page 330: ...Chapter 12 330...
Page 356: ...Chapter 13 356...
Page 372: ...Chapter 14 372...
Page 442: ...Chapter 16 442...
Page 472: ...Chapter 18 472...
Page 520: ...Chapter 19 520...
Page 536: ...Chapter 20 536...
Page 562: ...Chapter 23 562...
Page 566: ...Chapter 24 566...
Page 602: ...Chapter 27 602...