works well thanks
None of these work!!!
There is a REALLY simple way of doing this but it requires flash player 7, although it may work in flash player 6 as well. in the first frame of your movie, just add the following actionscript:
stage.showmenu = false;
simple huh?
how can i disable right click menu when load the swf in my vb form.when i excute it menu is apperaring
here is a way…
<param name=“menu” value=“false”>
dude… if u want to disable right click, u need to enter a line of actionscript to ur flash time line actionscript field…
code:
Stage.showMenu = false;
Thanks Goaman that really helped me out cheers man
Sorry Goaman, but that does not completely disable the menu. It merely reduces it down to two menu entries.
If you want to totally remove right-click from flash content, I play a <div> over-top or the flash with a transparent background image. Works extremely well, plus the code is small.
@Amir,
I doubt that will work if u want to be able to interact with the Flash movie.
Does it?
you can protect the text from being copied by setting the selectable property of the text field to flase
e.g:
TextFieldName.selectable = false;
Amir, does left-clicking still work when you do this?
working good (y)
Thanks, found this useful.
yes but where do i post this script?
This attribute has changed my life. Thank you sitepoint.com
Din’t work for me…
Can’t be doing this wrong too…
worked when using mozilla, it has no effect on IE.
This code doesn’t work maybe I’m entering it in the wrong place?
just put this in the first frame of the flash
Stage.showMenu = false;