well since nobody had time to answer yet, I kept digging.

here's one bug: if you add "Settings" as part of the string which forms
your custom menuitem label, not just the whole String which could
collide with the Settings menu, but part of a custom string, it won't
show at all in the menu, and no error is thrown. "Parameters" is
acceptable, but thats all I know one way or the other.
see Alex's previous comment: 
http://tech.groups.yahoo.com/group/flexcoders/message/125171

this code definitely does NOT clear the two standard menuitems,
"Settings..." and "About..." nor the debugger-player's "debugger" and
"show redraw regions"
        var menuItem:ContextMenuItem = new ContextMenuItem("Our switch:
Change Parameters");
        
menuItem.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT,createParamPopUp);
         var customContextMenu:ContextMenu = new ContextMenu();
         customContextMenu.hideBuiltInItems();
         customContextMenu.customItems.push(menuItem);
Though it does add an item, and run the associated function.

Has anyone cleared the *whole* contextMenu out?
or
Taken control of mouse-rt-click events so as to avoid the standard
contextMenu?

John


Reply via email to