View Full Version : partially disabling right-click menu
mad_A
04-02-2001, 04:48 PM
Is it possible to disable all the options on the right click menu, except the zoom ones (zoom in, zoom out, show 100%, show all)???
thanks
A
Strok
04-02-2001, 05:13 PM
"except the zoom ones" - so far as I know it is not posible
BUT
1)If you whant to disable all the options :
(in HTML)
You can use
<PARAM NAME=menu VALUE=false>
inside tag <OBJECT> for IE
and
menu=false
inside tag <EMBED> for NN
2)If you whant to have just (Flash5 line):
FS Command ("showmenu", "false") to disable right clicking
and if you want to see just few options on right clicking go to
file/publish settings/swf and check "omitting trace actions".
[Edited by Strok on 04-02-2001 at 12:20 PM]
Jesse
04-03-2001, 04:49 AM
You could probably just disable the entire menu and add your own zoom buttons if you can't figure out a new way to do it.. (they'de be Flash buttons, not right click menues of course)
Cheers
Jesse
mad_A
04-10-2001, 03:26 PM
Thanks Jesse and Strok,
Yeah, it seems like it's not an option. I was just trying to find a way to leave zoom and print to save me the trouble of doing them seperately. I guess I'm not going to get to be lazy afterall...!
cheers
A
FlashAlison
12-05-2006, 07:40 AM
Hi!
I couldn't get the menu false inside the embed tags in NN to work. Are you sure it's done this way?
How do you disable the menu for Firefox?
:)
mad_A
12-05-2006, 08:33 AM
Hi Alison,
What are you trying to do - disable the menu totally or partially?
In AS 1:
cmMenu = new ContextMenu();
cmMenu.hideBuiltInItems();
menu = cmMenu;
or else in the HTML have...
<OBJECT>
<PARAM NAME="menu" VALUE="false" />
<EMBED MENU="false" />
</OBJECT>
or if you are using AS2 -
var cmMenu:ContextMenu = new ContextMenu();
cmMenu.hideBuiltInItems();
menu = cmMenu;
sfhazel
12-05-2006, 06:30 PM
Well you can always put this on the first frame of your movie to disable the menu almost entirely:
Stage.showMenu = false;
But I do not think it's possible to disalbe everything BUT Zoom in/out. You may have to write your own functions for that if you disable the menu.
|
vBulletin® v3.8.5, Copyright ©2000-2013, Jelsoft Enterprises Ltd.