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.
Содержание DIRECTOR MX-USING DIRECTOR MX
Страница 1: ...Using Director MX Macromedia Director MX...
Страница 12: ...Contents 12...
Страница 156: ...Chapter 4 156...
Страница 202: ...Chapter 6 202...
Страница 244: ...Chapter 7 244...
Страница 292: ...Chapter 10 292...
Страница 330: ...Chapter 12 330...
Страница 356: ...Chapter 13 356...
Страница 372: ...Chapter 14 372...
Страница 442: ...Chapter 16 442...
Страница 472: ...Chapter 18 472...
Страница 520: ...Chapter 19 520...
Страница 536: ...Chapter 20 536...
Страница 562: ...Chapter 23 562...
Страница 566: ...Chapter 24 566...
Страница 602: ...Chapter 27 602...