Skip to main content
Participant
December 15, 2016
Question

Missing MenuBar and other mx objects after updating AIR

  • December 15, 2016
  • 1 reply
  • 314 views

I'm trying to update my application all the way from AIR 3.8 to AIR 21--big jump forward.

Did the SDK overlay and went to rebuild everything, but I'm not getting far.  It tells me various base classes I use are missing.  They all look like mx objects and include Menu, MenuBar, and MenuItemRenderer.

If I try to use FlashBuilder to create an import of these, they don't come up in the completion lists of objects.

What do I need to change for the system to let me access these objects?

This topic has been closed for replies.

1 reply

Amrita Gangwani
Adobe Employee
Adobe Employee
December 15, 2016

Hi,

mx objects are usually provided by the Flex SDK. Probably, the AIR SDK version you are using isn't comaptible with the older Flex version. If you can check that the mx components you using aren't deprecated, that might help you.

Thanks!

Participant
December 15, 2016

Amrita, thank you for your response.

I am running Flex 4.6.0 and the components are not deprecated.  In fact, I can see the source for them in the sdk.

My current approach is to binary search AIR versions and see where it breaks.  So far, I am successfully building on AIR 21, which is a big step forward.  I will soon figure out exactly where things break down.  Perhaps it was just a procedural error on my part the first time I tried.  We will see.

Thanks again.