Graphics Reference
In-Depth Information
Figure 5.26
The three labels for the states: normal,
over, and down
The three jump labels for the states:
normal, over, and down
4. Text label • To create a text label, simply add a text layer. We can adjust text
properties such as color or shadow to match the button state as needed. It
is only important that the text field be named “label” so that we can later set
it dynamically.
5. Hotspot • Next, define a hotspot area that defines the action area of the
button and listens to the events. To do this, add an arbitrary rectangle that is
invisible (set opacity to 0). Name the rectangle “hotspot.” In this way, only the
text area is active. The symbol composition now appears as follows:
 
Search WWH ::




Custom Search