1 Reply Latest reply on Jun 21, 2007 11:42 AM by SoxFan33

    Prevent Menu Hide

    SoxFan33
      Is there a way to prevent a pop-up menu from hiding after a menu item is selected or the mouse is clicked outside the menu? I have tried capturing the MenuEvent.MENU_HIDE event and calling preventDefault on it, but this does not seem to have any effect.

      Thanks.
        • 1. Re: Prevent Menu Hide
          SoxFan33 Level 1
          Naturally, shortly after I posted this question I tried something simple that I hadn't tried before, and it seems to have solved my problem. I capture the MenuEvent with the following code:

          private function menuHideCalled(e:MenuEvent):void
          {
          e.preventDefault();
          e.menu.visible = true;
          }