is there a way to handle menuEvents like the ones used in submenus but in top level menus that doesent have sub menus?
and use a function like:
private function menuHandler(event:MenuEvent):void {
if (event.item.@data != "top") {
Alert.show("Label: " + event.item.@label + "\n" +
"Data: " + event.item.@data, "Clicked menu item");
}
}
to Handle the clicks?