2 Replies Latest reply on Apr 25, 2008 1:39 PM by camfieldaj

    Hide flex ContextMenu

    larcelarcen
      Hi,
      how to hide ALL flex ContextMenu items (include about)?
        • 1. Re: Hide flex ContextMenu
          JKohn99 Level 1
          Can't be done. It is not a flex menu but part of the flash player.

          You can remove some of the items:

          defaultMenu = Application.application.contextMenu;
          defaultMenu.hideBuiltInItems();
          • 2. Re: Hide flex ContextMenu
            camfieldaj Level 1
            Sry, but as I was told you do it thusly,

            var myContextMenu:ContextMenu = Application.application.contextMenu;

            myContextMenu.hideBuiltInItems();

            var defaultItems:ContextMenuBuiltInItems = myContextMenu.builtInItems;

            defaultItems.print = false;

            Now to hide the browser context menu is a different matter.

            HTH,

            Andy C.(never #)