[flexcoders] Re: Context menu in flex

2007-11-17 Thread johantrax
A little examplecode: <> //creates a new entry in the contextMenu // which is handled by the (self-written) function doMyCommand(Event) var myCMI:ContextMenuItem; myCMI = new ContextMenuItem("myMenuCommand"); myCMI.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, doMyCommand); this.treeComponent

[flexcoders] Re: context-menu in flex...

2006-06-15 Thread Cristian Pop
Hi everyone, I don't want to hijack this thread but it reminded me about one problem I had with the context menu. Does anyone knows a way to put a check before an item in the context menu ? Flash Player can do it (see Play and loop entries). I could not find anything in the ContextMenu Class. T