The idea is fairly simple:
这个想法是相当简单的:
1-Use Javascript in the HTML container page to disable the right-click on top of the SWF.
1使用Javascript的HTML容器页面来禁用右键单击顶部的SWF。
2-Capture the event and pass it to a function that communicates with Flash via the External Interface
2捕获事件并将其传递给一个函数,与Flash通过外部接口
3-In Actionscript the function called from Javascript does whatever you need to display your own custom context-menu.
3在Actionscript调用的函数从Javascript做任何你需要显示自己的自定义右键菜单。
Check out the download section for source code and working demo.
检查下载部分获得源代码和工作演示。
Flash右键解决方案
google code上找到的一个开源项目:http://code.google.com/p/custom-context-menu/
看看效果: http://www.as4game.com/example/rightclick
flash 控件(支持右键菜单隐藏 以及右键事件,注意 如使用右键功能 则不支持Opera浏览器 不适用右键功能时符合所有浏览器) 版本 1.0
=====================下面自己网盘的下载地址=========================
http://pan.baidu.com/share/link?shareid=128031&uk=3171813163