remove the right click menu in flash 9

后端 未结 8 1925
时光说笑
时光说笑 2021-01-18 01:59

Is it possible, using actionscript 3 to disable the right click menu?

Any help greatly appreciated!

相关标签:
8条回答
  • 2021-01-18 02:27

    Starting with Flash Player 11.2, it's possible now to override the behavior for the right button click on the mouse, e.g.

    stage.addEventListener(MouseEvent.RIGHT_CLICK, function(e:Event){});
    

    Here is the corresponding entry in the ActionScript 3 reference.

    0 讨论(0)
  • 2021-01-18 02:32

    Hello a couple of years later. I had the same problem but while using a touch-screen. If you keep the pointing device (my finger) touching the screen for more than a second the "right-click menu" will show up. I soved it going to the control panel under Windows7, "Pencil and input devices", Touch Tab, Actions, Turn off actions for "Keep pressed".

    My windows is in spanish and the names are problably a bit different but I'm sure you'll know which button is which.

    0 讨论(0)
提交回复
热议问题