Can't you just bind the enabled property of your nativemenuitems to
whatever expression gives you the availability of the item, no matter if
it's shown or not, so you are sure it's always in the correct state?

https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/NativeMenuItem.html#enabled

On Sat, Jul 14, 2018 at 4:00 PM, Tucsonjhall <[email protected]> wrote:

> I must not be approaching this common task correctly. I have a native menu
> on
> an AIR application and want to determine which subitems should be enabled
> before displaying. I have yet to fall upon a way to capture an event when,
> let's say, the File menu is clicked but before the menuitems under it are
> displayed. Suggestions?
>
>
>
> --
> Sent from: http://apache-flex-users.2333346.n4.nabble.com/
>

Reply via email to