Remove context menus, or simply responding to "right click" the mouse is a possibility of the Flash Player directly from ActionScript code is not allowed even in CS3. This feature would be attractive for both games for RIA applications. Uza Paulius has proposed a solution for ActionScript 3 (AS3) that works in tandem with Javascript. This "patch" is still in testing it depends on the browser and the Flash Player installed. You can help by testing application demo here .
It was also an aperitif "project" on Google Code :
The idea is fairly simple:
1-Use Javascript in the HTML container page to disable right-click on the top of the SWF.
2 - Capture the event and pass it to a function That communicates with Flash via the External Interface
3-In Actionscript the function Called from Javascript does whatever you need to display your own custom context-menu.










There are no comments for this post
Leave a comment