Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

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

16.5. Using Menu Controls

Flex provides three menu controls that you can use to create styles of navigation interfaces. They include the MX Menu, MenuBar, and PopupMenuButton controls. Of these three controls, the Menu and MenuBar define their menus with a hierarchical data structure, represented as XML, and notify you of user selections with both an itemClick and change event.

The PopupMenuButton control differs from the other menu controls, in that it displays only a single-level menu and notifies you of a user selection with its change event. In this section I describe the details of using the Menu and MenuBar controls. The PopupMenuButton control is described in Chapter 17.


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint