...

View Full Version : Disable Right click menu on .swf file in browser window...



meenu21
04-27-2004, 05:40 AM
hi

The menu of a flash movie can be disabled using the menu attribute, and setting in html embed code...:

<EMBED src=mindcycle.swf type="text/html;
charset=iso-8859-1" quality="high" menu=false
bgcolor=#000000 WIDTH=120 HEIGHT=30>

To activate the menu again, set the attribute menu=true.

But it don't disable full right menu, as ir still shows two options in right menu...

Do anyone know how to eliminate full menu...

Thanks in advance

Mhtml
04-27-2004, 10:36 AM
I don't think it's possible. It's handled by the player not the movie so I don't think you can through actionscript either..BUT you might be able to do it with a sprinkle of js...

JAVAEOC
05-01-2004, 12:03 AM
in ur body tag:

<body oncontextmenu="javascript:return false">

that should do it :D

ionsurge
05-01-2004, 11:34 AM
--> Moved to the JavaScript forum.

blazzer
02-27-2009, 10:34 AM
hi

The menu of a flash movie can be disabled using the menu attribute, and setting in html embed code...:

<EMBED src=mindcycle.swf type="text/html;
charset=iso-8859-1" quality="high" menu=false
bgcolor=#000000 WIDTH=120 HEIGHT=30>

To activate the menu again, set the attribute menu=true.

But it don't disable full right menu, as ir still shows two options in right menu...

Do anyone know how to eliminate full menu...

Thanks in advance
<EMBED src=mindcycle.swf type="text/html;
charset=iso-8859-1" quality="high" menu=false
bgcolor=#000000 WIDTH=120 HEIGHT=30>
----------------------------------------------
will not work but


<EMBED src=mindcycle.swf type="text/html;
charset=iso-8859-1" quality="high" menu="false"
bgcolor=#000000 WIDTH=120 HEIGHT=30>
----------------------------------------------
it's working



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum