User Guide
Behaviors
Behaviors could also be called “Local events”. Behaviors are list of events contained in one
object. The events are automatically activated in the frame if the object is present. Behaviors
allow you to create “Intelligent” objects that will react as soon as they are dropped in the
frame, without the need to define events in the frame list of events.
To create a behavior, you must first display the properties of the object in the property toolbar:
just click on the object in the frame editor. Then click on the “Events” tab.
Click on the “New” button to create a new behavior. You can have more than one behavior
per object. You can rename it by clicking on it. Click on the “Edit” button to open the event
editor for this behavior.
As with the global event editor, the behavior event editor is the classic event editor you have
seen before, but not all the objects are present in the object bar. You will find the object
containing the behavior and the “Import new object” object. As with the global events editor,
a click on this object presents to you all the objects of the frame for you to import them.
Note: when you are editing the events of the frame, the objects containing a behavior are
marked by a little “B” in the corner right of the object’s icon. If you click with the right mouse
button on this object in the object bar, you will have an option to open the behavior of the
object and edit it.
Global events and behaviors can become an important part of your application. They can
help to reduce dramatically the number of frame events needed to handle each frame.
66