• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Adding a Menu Bar

The Menu component lets a visitor select items from a popup menu. The Menu component opens in an application when a user rolls over or clicks a button-like menu activator. Flash conserves valuable space by creating Menu components dynamically at runtime. Menu components have an obvious advantage over static menus: They only display information when requested, and they give a sense of order to a site that requires the visitor to select from many choices.

Add a MenuBar Component

1.
Open the Components panel.

2.
Click the UI Components Expand triangle.

3.
Drag the MenuBar component onto the Stage, and then select the component.

4.
Open the Component Inspector panel, and then click the Parameters tab.

IMPORTANT Menus represent the navigation, or steering wheel of your Flash document. Visitors require a powerful, yet easy-to-understand way to navigate. Not only should your menu systems be easy, it should be designed to allow visitors to get to any page, scene or document within three clicks. It’s called the 3-click rule (of course), and it keeps visitors from getting frustrated trying to navigate through your site. Remember, build it, and they will come. . . make it easy to navigate, and they will stay.

5.
Select from the following MenuBar parameters:

  • labels. Click the Zoom button to the right of the value field, and then enter the labels used in the Menu Bar. Click the plus (+) sign to add a label, and the minus sign (-) to remove a label. Click the up and down arrow keys to reorder the values.

  • enabled. When you click the value field, and select true, the menu can be used. If you select false, the menu is grayed out and cannot be used.

  • visible. When you click the value field, and select true, the menu can be viewed. If you select false the menu is invisible.

  • minHeight. Click the value field, and then enter a minimum height for the menu.

  • minWidth. Click the value field, and then enter a minimum width for the menu.

6.
Click the Control menu, and then click Test Movie.

When you roll over the menu, the buttons change color. You can now attach an ActionScript to the button to load another scene or movie.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint