Datasheet

236 Creating Animations
5. Click the Mask button to the right of the new mask layer's name
(it then shows as
).
6. To enable masking, click the adjacent Locked button (this also
locks the mask objects in place).
State behaviour
By default, any object drawn in DrawPlus is considered to be a non-state object
(i.e., one that has a single set of attributes). Within Keyframe animation it's
possible to convert such a non-state object to a state object by assigning it one
or more "states" such as Normal, Hover, or Pressed, with each state possessing its
own object attributes.
The advantage here is that in each state, the object can have a different
appearance in response to a user event such as a mouse press or mouse hover
over. This lets you creates interactive intelligent objects which change with your
mouse movement/actions. Think of a "Play" button on your computer's
music/video player having different appearance when clicked.
In DrawPlus, an object's state is indicated by its adjacent state buttons shown
next to the object (only two states will be shown at any time; the third state is the
current object's state).
For example, an object in Normal state shows adjacent
Hover and Pressed
buttons, i.e.
If you click either button you'll jump to that state's sub-object. If in Hover or
Pressed state, you'll see the Normal button.
To convert to a state object:
1. Select the object.
2. Choose State>Convert to state object from the Object menu.