Director Help

Behaviors

A behavior in Adobe Director is prewritten Lingo or JavaScript syntax that you use to provide interactivity and add interesting effects to a movie. You drag a behavior from the Library palette and drop it on a sprite or frame to attach it.

If the behavior includes parameters, a dialog box appears for defining those parameters. For example, most navigation behaviors let you specify a frame to jump to. You can attach the same behavior to as many sprites or frames as necessary and use different parameters for each instance of the behavior.

Most behaviors respond to simple events such as a mouse click on a sprite or the entry of the playhead into a frame. When the event occurs, the behavior performs an action, such as jumping to a different frame or playing a sound.

Director comes packaged with customizable, reusable behaviors for many basic functions. You and other developers can also create and share your own behaviors by writing Lingo or JavaScript syntax. To modify behaviors, use the Behavior inspector or Property inspector.

For more information about using included behaviors, see Using Director Behaviors on the Director Support Center at http://www.adobe.com/support/documentation/en/director/.