FlexNativeMenu Problem in Air Application

Posted by glatour on Stack Overflow See other posts from Stack Overflow or by glatour
Published on 2010-03-21T03:35:58Z Indexed on 2010/03/21 3:41 UTC
Read the original article Hit count: 321

Filed under:
|
|
|

I am trying to add a flexnativemenu to my air application and I have some problems...

When I set it in the windowApplication, I get null errors in child controls so I tried to set this.menu = myMainMenu (which is my flexnativemenu) in the creation complete event but the menu doesn't show up...

I tried to show an alert message before setting the menu and the menu appeared in the application.

Is there a method I can call to force the application to "redraw" itself in the creationComplete event???

Thanks!

© Stack Overflow or respective owner

Related posts about air

Related posts about flex