import mx.controls.Menu; private function showMenu():void { var myMenu:Menu = Menu.createMenu(null, myMenuData,true); myMenu.labelField="@label"; myMenu.show(); }