i have this problem with menu "itemClick" event for submenu. I have
flex 2.0.1 version and flex website says that , "itemClick" event
doesn't work for submenus.
(http://livedocs.adobe.com/flex/2/docs/ww...
Is there any way by which i could detect click event for submenu ?
My sample code goes this way .
public function initMenu():void {
var myMenu:Menu=new Menu();
myMenu.dataProvider = instructionMenu;
myMenu.labelField="@label";
myMenu.addEventListener("itemClick", changeHandler);
popB.popUp = myMenu;
}
dataProvider is an xmllistcollection containing submenu. I add this
menu in a popupbutton (popB).
thanks