"Menu item highlight" vector
"Menu item highlight" vector image
What it does
This vector image works in tandem with the
"Menu item highlight" behavior and the
"Menu Verb" behavior to highlight menu items. The vector
image is positioned over or under menu items that are configured to
be highlighted in the "Menu Verb" behavior.
You only need this vector image in the Score if you want to highlight
menu items. And regardless of how many menu items you configure to be
highlighted, you only need one copy of the
"Menu item highlight vector" image in the Score.
What to attach to it
Attach a copy of the
"Menu item highlight" behavior to this vector image. This
is a must if you want to highlight menu items.
Position in the Score
Instantiate this through all the frames in which the menu is instantiated.
Put it in any channel you like.
Position on the Stage
It doesn't matter where you position it on the Stage. The "Menu
item highlight" behavior makes it invisible until the user mouses
into a menu item configured in the "Menu Verb" behavior to
be highlighted, and makes it invisible again once the menu item is no
longer highlighted.
Changing the color
Depending on the color of your menus, you may want to change the color
of the "Menu item highlight" vector image. The graphic below
shows you how to do this.

- Right-click in the Score on the "Menu item highlight"
sprite.
- Select "Cast Member Properties" from the pop-up menu.
The Property Inspector opens.
- In the Property Inspector, tab to the Vector tab, as above.
- Click on the square indicated above to change the "Menu item
highlight" color.
The "Menu item highlight" behavior automatically adjusts
certain properties of the "Menu item highlight" vector image:
- visibility
- regPoint
- blend
- ink
For more information, see the documentation on the
"Menu item highlight" behavior.
|