Skip to main content
Participant
Dec 15, 2016 12:48 AM UTC
Question

Missing MenuBar and other mx objects after updating AIR

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 is closed to new replies. Start a new post to keep the conversation going.

2 replies

Amrita Gangwani
Adobe Employee
Adobe Employee
Dec 15, 2016 8:03 AM UTC

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!

Translate
Participant
Dec 15, 2016 5:21 PM UTC

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.

Translate