Highlighted

Missing MenuBar and other mx objects after updating AIR

Community Beginner ,
Dec 14, 2016

Copy link to clipboard

Copied

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?

TOPICS
Development

Views

168

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Missing MenuBar and other mx objects after updating AIR

Community Beginner ,
Dec 14, 2016

Copy link to clipboard

Copied

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?

TOPICS
Development

Views

169

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Dec 14, 2016 0
Adobe Employee ,
Dec 15, 2016

Copy link to clipboard

Copied

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!

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Dec 15, 2016 0
Community Beginner ,
Dec 15, 2016

Copy link to clipboard

Copied

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.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Dec 15, 2016 0