[screenweaver] disable right click menu

Muzak p.ginneberge at telenet.be
Tue Oct 4 09:22:35 PDT 2005


Hi Mauro,
I think you have an older version of the docs.
Flash MX2004 has a limit of 3 nested books or something.
The swWindow.Menu API was in a level4 node, which is why it doesn't show up.

Try downloading the docs from the trunk (mind mail wrapping)
https://secure.sourcesecure.co.uk/trac/osflash/screenweaver/browser/three/trunk/res/mxp%20installer/swdocs.mxp

To remove a menu previously added with swWindow.Menu.setPopupMenu(menuID);
just call swWindow.Menu.setPopupMenu(null);

You can switch it on/off by calling setPopupMenu() with the menuID (on) or null (off)

regards,
Muzak

----- Original Message ----- 
From: "Mauro Di Blasi" <mauro.diblasi at gmail.com>
To: <screenweaver at osflash.org>
Sent: Tuesday, October 04, 2005 4:47 PM
Subject: Re: [screenweaver] disable right click menu


>> Hi Mauro,
>
>
>
> Hello Muz
>
>
>> Where did you get those docs?
>> Mine has a swWindow.Menu
>
>
>
> I finally red the docs here:
> http://www.vanrijkom.org/sw3os/help/swhelp.html#actionscript_reference/actionscript_api/swwindow/menu/setwindowmenu.html
>
>
>
>> Did you install the .mxp from the screenweaver install directory?
>> "\Screenweaver 3 OS\help\swdocs.mxp"
>
>
>
> I really don't remember but probably I did so. You can see what I get here:
> http://www.welcome2cu.com/2cu/help_panel.jpg
>
>
>> Anyway, to completly disable the right click menu, open Screenweaver.
>> Go to the "Windows - Behavior" tab and for the 'right click menu'
>> option, select 'pass event'
>> This will remove the Flash right click menu entirely.
>> You can then add a custom context menu using the SW API.
>
>
>
> That's ok, but I asked something different. That is: if I entirely
> remove the menu and then I add a custom menu, how can I remove it again?
>
>
> Regards,
> Mauro





More information about the screenweaver mailing list