PDA

View Full Version : Disabling settings button in the contextmenu


ActionScriptRetard
02-06-2010, 04:45 PM
Hi guys

I was just wondering if you could disable 'Settings' in the context menu, when you right-click on a flash object on a page. I know you can remove all other stuff with stage.showDefaultContextMenu = false or making a custom menu but Settings still remains.
I'm sure some of you may have seen Microsoft's Windows 7 adverts around on the web, and when you right-click on it, the Settings bit is disabled. How do you do that?

P.S. I just noticed this site's logo swf also has Settings diabled as well. I'd love to know how to do it.

Thanks in advance

tacos
02-06-2010, 05:31 PM
This only happens with the above logo.swf, because the .swf needs to be of a minimum height so that the settings panel can be displayed. Since the logo.swf's height is only 45 pixels, Settings appears greyed out.

If you make that swf's height 245 or larger, than the Settings menu item is no longer greyed out.

ActionScriptRetard
02-06-2010, 05:38 PM
So it's only because the swf is small? So there's no way to customise Settings..
Thanks for your reply!