This content has been marked as final.
Show 3 replies
-
1. Re: How to remove default menu items in a Mac Air application
wadedwalker Nov 7, 2014 8:20 AM (in response to jameel flex)You can remove them using the NativeApplication.nativeApplication.menu property to access the native menu.
import flash.desktop.NativeApplication;
if (NativeApplication.nativeApplication.supportsMenu) {
NativeApplication.nativeApplication.menu.removeAllItems();
}
The ASDocs says this removes all menu items, but I imagine it will leave the "App Name" menu item on Mac OS computers so the user will know what app is currently active and so it can be closed or hidden.
NativeMenu - Adobe ActionScript® 3 (AS3 ) API Reference
NativeApplication - Adobe ActionScript® 3 (AS3 ) API Reference
-
2. Re: How to remove default menu items in a Mac Air application
jameel flex Nov 10, 2014 1:13 AM (in response to wadedwalker)Hi,
Thanks for the reply.
I will try this out.
Regards,Jameel
-
3. Re: How to remove default menu items in a Mac Air application
jameel flex Nov 10, 2014 10:08 PM (in response to wadedwalker)Hurray!!!!
It worked. You made my day
Thanks a lot.

