Hey all,
have you been getting this crazy error message when trying to access the NativeApplication.nativeApplication.icon.menu on windows?:
1119: Access of possibly undefined property menu through a reference with static type flash.desktop:InteractiveIcon.
Everything in the livedocs leaves me to believe that a reference like that would work on windows machines, but it doesn’t.
I don’t know if there is a more ‘proper’ way to do this but heres my solution:
(NativeApplication.nativeApplication.icon as SystemTrayIcon).menu
Simply use that when needing to add a NativeMenu to the SystemTrayIcon.
Peace.

