Click to go to the home page.

This Document
"Menu item highlight vector" image

See Also
"Menu Verb" behavior
"Menu item highlight" Behavior

 

Site Nav

css drop down menu by Css3Menu.com

"Menu item highlight" vector

"Menu item highlight" vector image

Go to table of contents for this doc. 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.

Go to table of contents for this doc. 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.

Go to table of contents for this doc. Position in the Score

Instantiate this through all the frames in which the menu is instantiated. Put it in any channel you like.

Go to table of contents for this doc. 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.

Go to table of contents for this doc. 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.

  1. Right-click in the Score on the "Menu item highlight" sprite.
  2. Select "Cast Member Properties" from the pop-up menu. The Property Inspector opens.
  3. In the Property Inspector, tab to the Vector tab, as above.
  4. 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.

 

Click to go to the home page"Menu item highlight" vector