You use the Library palette to display behaviors included in Director.
Director allows you to attach the same behavior to several sprites or several frames at the same time. You can attach as many behaviors as you want to a sprite, but you can attach only one behavior to a frame. If you attach a behavior to a frame that already has a behavior, the new behavior replaces the old one. Behaviors attached to frames are best suited to actions that affect the entire movie. For example, you might attach Loop Until Media in Frame is Available to make the movie wait while the media for a particular frame downloads.
When you attach a behavior, and the Parameters dialog box appears, the parameters you specify apply to the behavior only as it is attached to the current sprite or frame. These settings do not affect the way the behavior works when attached elsewhere. Use the Behavior inspector to change parameters for behaviors attached to sprites or frames.
Once you attach a behavior to a sprite or frame, Director copies the behavior from the Behavior library to the currently selected cast in the movie. This means you do not have to include the Behavior library when you distribute the movie.
If the behavior includes a longer description, you can view it in the Behavior inspector or in Director Help. For more information, see Getting information about behaviors. The behaviors included with Director come with descriptions. Behaviors from other sources may not.
Select Show Names from the Library pop-up menu to turn the display of behavior names on or off.
Note: If you attach a behavior from a Director library of behaviors, the behavior is copied to the currently active cast.
Director attaches the behavior you select to the sprite(s) or frame(s).
Note: Some behaviors work only when applied to either a sprite or a frame; for more information, read the behavior descriptions.
The Behavior tab has the same fields for the behavior as those in the Parameters dialog box.
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/director/mx2004/release_update_en/14_beha2.htm