Behaviors are most of the time little scripts which can be added easily to a sprite or frame to increase the functionality.
There are a lot of behaviors out there, either in director like 'mouse-over-change-cursor' or on the internet:
As mentioned before, behaviors can have properties. These properties are declared outside the hanlders at the top of the screen. When a behavior is dragged from the library palette and released on a sprite a pop-up box can appear to set these properties to specific values for that sprite. The handlers which makes this possible is on getPropertyDescriptionList. In this handler you can define what and how properties are set.
properties
behavior example (cont'nd)
Note:
Note:
Next to do is just write the behavior.
Example:
Note:
[]
intro
windows
concepts
tools
howto
lingo
advanced
summary
resources
draft version 0.5 (12/3/2001)