3 Replies Latest reply on Apr 22, 2011 2:39 PM by Jason Szeto

    Context Menu in Text Field Problem

    Tauqeer_QAU Level 1

      Hi All

      I am using this code to modify contextmenu of text field  (_txtField).


      var _context:ContextMenu;

      _context = new ContextMenu();


      _context.addEventListener(ContextMenuEvent.MENU_SELECT, onContextMenuSelect, false, 0, true);


      _txtField.contextMenu = _context;


      But it hides the original contextmenu of textfield (cut,copy ,paste e.t.c).

      Am I doing something wrong or give me a suggestion , how I can append to original context menu.