A Menu is created with a call to the
Menu
class static createMenu()
function. Of course you'll have to pass some data representing the menu items and structure to the createMenu()
call.// create the menu data structure
var menuData:Array = [ "Item 1", "Item 2", "Item 3" ];
// create the menu
var menu:Menu = Menu.createMenu( parent, menuData, false );
// show the menu
menu.show()
Learn more about Menus in Flex at Flex After Dark...
No comments:
Post a Comment