PDA

View Full Version : How to disable right click in Flash...



blackjersey
February 25th, 2005, 02:09 PM
Can we disable the right click function in Flash? How?

Xeef
February 25th, 2005, 03:37 PM
Hmmm

Stage.showMenu=false //will disable it nearly you will still see setings

to totaly disable it you will need to use some strange javascript

Napoly
February 25th, 2005, 04:20 PM
File>Publish_Settings>HTML>Display_Menu

Xeef
February 25th, 2005, 04:33 PM
@Napoly

this is the same as "Stage.showMenu=false"
but you still have Settings /debugger and About MM...

Napoly
February 25th, 2005, 06:12 PM
http://flashmove.com/forum/archive/index.php/t-17441

hashmat
November 20th, 2009, 12:38 PM
hello,

can you help me how to remove the info from right click info from flash player.

i have a video sharing site and i need to remove some of info from the right click from flash player.

can you help me how to do this, i have all the files for that script. and i don't know which file i should find?

e_owen
March 7th, 2010, 02:14 PM
stage.showDefaultContextMenu = false;

xcldx
April 18th, 2010, 09:35 AM
Is there a way to disable the menu when you're using the Flash Player object in VB2008?

vikramkute
April 19th, 2010, 10:07 AM
We can do it..if ur final output is browser..!! ;)

http://www.kirupa.com/forum/showpost.php?p=2547035&postcount=8

xcldx
April 20th, 2010, 05:46 AM
We can do it..if ur final output is browser..!! ;)

http://www.kirupa.com/forum/showpost.php?p=2547035&postcount=8


So I guess there isn't a solution for the moment? I'm integrating a Flash game demo I'm making to VB2008 for a bit more of functionality.

vikramkute
April 27th, 2010, 05:09 AM
So I guess there isn't a solution for the moment? I'm integrating a Flash game demo I'm making to VB2008 for a bit more of functionality.


Games means final output is .exe so you can hide right click very easily. just search for disabling right click on .exe. :tini:

kiranvj
January 7th, 2011, 12:16 PM
Using the method mentioned here http://www.einternals.com/blog/web-development/flashflex/disable-right-click-menu-in-flash you can disable right click menu in flash used in html pages. Its a combination of javascript and AS3. But this method wont work fine in exe's created using flash.

If you are embedding swf in .net or VC++ application you can disable right click by capturing the event messages. I have done it earlier in vc6 (mfc), not remembering the code now.