remove the right click menu in flash 9

后端 未结 8 1936
时光说笑
时光说笑 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:22

    You can hide everything except for the Settings item, as said by Lain.

    By the way: If you need to customize it you can use the ContextMenu class from the flash.ui package. Call hideBuiltInItems on it first to hide everything except for the Settings and then assign it to the menu property of the object you want to use the menu for (or root for the entire applet).

    FYI, there is a nice tutorial about it that you can find here

提交回复
热议问题