• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

Missing MenuBar and other mx objects after updating AIR

Community Beginner ,
Dec 14, 2016 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

259

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
community guidelines
Adobe Employee ,
Dec 15, 2016 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!

Votes

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
community guidelines
Community Beginner ,
Dec 15, 2016 Dec 15, 2016

Copy link to clipboard

Copied

LATEST

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.

Votes

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
community guidelines