1 Reply Latest reply on Sep 3, 2012 12:25 AM by aconma

    remove all context menu of input html textfield?



      I'm using adobe flash cs6 to build a small application.

      I created an input html textfield named "tf" and added the following code:


      import flash.ui.ContextMenu;

      var blankMenu:ContextMenu = new ContextMenu();



           blankMenu.clipboardMenu = false;


      tf.htmlText = '<a href="hello">hello</a>';

      tf.contextMenu = blankMenu;


      I just want to hide all context menu in the textfield, but the menu "open link" and "copy link" still displayed:




      How can I remove or hide, disable these context menu when right click on a string that contains link?

      Thanks for all replies !

      Sorry for my English. It's really bad