View Full Version : FScommand showmenu
10-17-2002, 12:13 AM
Why would this work (disabling rightclick menu) in the standalone player and not in a browser?
Also, when I open an .swf with the showmenu command in the standalone player, it adds about 1/2 cm whitespace above and below the movie.
I know about the exec command being disabled in later versions of flash player to stop malicious people doing naughty things, but I didn't think it would affect showmenu?
10-17-2002, 10:34 AM
sorry to tell that fscommand could only recognize flashplayer.
10-17-2002, 11:07 AM
var ErrMsg = "Right Click is disabled!! ";
if (navigator.appName == "Netscape" && btnClick.which == 3) // check for netscape and right click
else if (navigator.appName =="Microsoft Internet Explorer" && event.button == 2) // for IE and Right Click
document.onmousedown = disableRightClick;
02-21-2003, 05:06 PM
I know this is not a current thread, but I came across it in my search to address the borders added at the top and bottom of the projector after the showmenu=false command executes.
This seems to only be a problem when authoring in Flash MX. The same code authored in Flash 5 has no adverse effects.
(It doesn't matter whether the code is written as
Stage.showMenu = false;
I found no answers in this or the Flashkit forum for this problem specifically, but did find a solution here:
It's an admitted hack, but it works, and I was so relieved to find it I thought I ought to post back here for anyone in the same boat.
vBulletin® v3.8.5, Copyright ©2000-2013, Jelsoft Enterprises Ltd.