Without any scripting or programming experience, you can use the Behavior inspector to create and modify behaviors to perform basic actions. To create behaviors with more complex structures, you must understand scripting in Lingo or JavaScript syntax.
Using the Behavior inspector is a good way to learn Lingo or JavaScript syntax. Examine the scripts created by the Behavior inspector to see how basic functions are assembled. To view the associated script, select any behavior and click the Script button.
Most 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 programmers, the Behavior inspector also provides a shortcut for writing simple scripts.
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.
The editing pane shows the events and actions in the current behavior. If you are creating a new behavior, no events or actions appear.
If you are familiar with Lingo or JavaScript syntax, you can edit a behaviors script directly.