Alarming bug in AIR SDK 4.0.0.1390, -useLegacyAOT no

I've uploaded small testcase which does some simple testing of equivalence of fractions (by parsing Numbers, Strings, etc).  The testcase SWF passes when packaged without -useLegacyAOT no, but fails when using the new halfmoon compiler.  I've filed the following bug:
https://bugbase.adobe.com/index.cfm?event=selectBug&CFGRIDKEY=3694360
This is alarming because it means the new halfmoon compiler feature has changed the logic of the testcase and breaks our app.
I'd appreciate it if someone could download the testcase and confirm this.
Please let me know when this is fixed.  We will not be using -useLegacyAOT no in the mean time.
Best,
-Jeff

I've created a radically simplified testcase that isolates the bug.  When creating two instances of a class in a static function, those references are both set to the second instance only when using halfmoon compiler:
https://gist.github.com/jcward/7066bc017bf92531f594
Errant function reproduced here for discussion purposes:
  public class Foo
    public function Foo() {
    static public function something():void
      // Create two unique objects, they cannot be the same
      var A:Foo = new Foo();
      var B:Foo = new Foo();
      Main.t.text += "Created Foo, A="+A+"\n";
      Main.t.text += "Created Foo, B="+B+"\n";
      // But in halfmoon, the references are the same:
      if (A==B) {
        Main.t.text += "ERROR: reference A cannot be equal to B, wth halfmoon?"
        throw new Error("Halfmoon-induced error, A != B");
      } else {
        Main.t.text += "A-OK, two unique Foo references!"
    private var ID:int = Math.random()*0xffffff;
    public function toString():String {
      return "[Foo] " + ID;

Similar Messages

  • URLLoader bug with AIR SDK

    Environment:
    Flash Builder 4.7
    AIR SDK 3.4
    Mobile ActionScript project
    Problem severity:
    Use URLLoader class to get data from server; use URLVariables to send data containing a single field (Note, this issue happens only when you're sending only one field), as:
    var urlVariables : URLVariables = new URLVariables();
    urlVariables.contactid = "mycontactid";
    var request : URLRequest = new URLRequest();
    request.data = urlVariables;
    request.url = "https://myserver.com/flex/GetContactDocument?OpenAgent";
    var loader : Loader = new URLLoader();
    loader.addEventListener( Event.COMPLETE, onSuccess );
    loader.addEventListener( IOErrorEvent.IO_ERROR, onIOError );
    loader.load( request );
    Everytime it turns into IOErrorEvent returning stream error with the used URL path. I eventually noticed it didn't add any "&" after the URL! So what was supposed to be is this:
    https://myserver.com/flex/GetContactDocument?OpenAgent&contactid=mycontactid
    But instead URLLoader seeing this as:
    https://myserver.com/flex/GetContactDocument?OpenAgentcontactid=mycontactid
    Note, there's no & sign after OpenAgent word!
    This doesn't happens when there are more then 1 fields in URLVariables class! This is strange, and looks like a bug to me!
    Any suggestion would be appreciated. Thanks!

    Hello,
    1 . If you used more then 1 field in URLVariable, then is this ever worked for you with any of the AIR SDK version.Could you please share the use of OpenAgent here in the url.
    2.  One should not used “?” without assigning any value in the url for the specified field which is incorrect ("https://myserver.com/flex/GetContactDocument?OpenAgent") , please try to implement like (“https://myserver.com/flex/GetContactDocument?OpenAgent=”+value+””) as url schema needs “?” before the first parameter and “&” before the following ones. OR  Try to use (https://myserver.com/flex/GetContactDocument”) and then pass the url variable through which “?” and “&” is append by the request automatically.
    Please update if this will work for you.
    -Nimit

  • Content is not Panning while softkeyboard appears in GPU and Direct Mode (Adobe Air SDK 4.0.0.1390)

    Hi,
    My content is not panning while softkeyboard appears in GPU and Direct Mode(I have placed my input textfield at the bottom of the screen) it is working fine with the CPU and AUTO Mode. I am using Air sdk v 4.0.0.1390. I have checked my manifest file also and have added '<softKeyboardBehavior>pan</softKeyboardBehavior>' still it is not panning my content while keyboard appears.
    Has anybody faced this problem earlier?
    (On Android i am getting this problem on iOS it is working fine)

    Could you please open a new bug report on this over at https://bugbase.adobe.com?  When adding the bug, please include some sample code or a sample application so we can quickly test this out internally.  If you'd like to keep this private, feel free to email the attachment to me directly ([email protected]). 
    Once added, please post back with the URL so that others effected can add their comments and votes.
    Thanks,
    Chris

  • BUG - rotation of Default image on iOS with AIR SDK 16.0.0.250

    Hi guys!
    I just switched to AIR SDK 16.0.0.250. Everything was fine except one very strange problem with Default images on iOS devices.
    My app runs in landscape mode. In my app I have default images that are shown during application loading phase.
    When app start, first I see Default image properly, that for a very short period of time I see Default image rotated 90 degree and scaled to fill the screen and then it disappears and application is get loaded.
    Here is a video that illustrates the problem: http://youtu.be/Ry1l1v7dQss
    That is very strange, so I want to know if anybody else knows how to handle this issue and what could the source of it? Some info that might help: Application descriptor:
    <initialWindow>
        <content>SWF file name is set automatically at compile time</content>
        <visible>true</visible>
        <aspectRatio>landscape</aspectRatio>
        <autoOrients>true</autoOrients>
        <fullScreen>true</fullScreen>>
        <renderMode>direct</renderMode>
        <softKeyboardBehavior>none</softKeyboardBehavior>
    </initialWindow>
    List of default images:
    Default.png
    [email protected]
    [email protected]
    Default-Landscape.png
    [email protected]
    So, for me it seems like a bug in AIR SDK 16.0.0.250, on AIR SDK 15.XXX everything was just fine.

    Thanks for reporting the issue. Yes, It's known to us and we are investigating it.
    Best Regards,
    Jitender

  • How to setup Flex SDK with latest AIR SDK?

    Now the latest AIRSDK web page has a small link at the bottom for Flex users and it states that Flex users should take the SDK version without the compiler. BUT....
    the http://helpx.adobe.com/flash-builder/kb/overlay-air-sdk-flash-builder.html page says to download the SDK from
    http://labs.adobe.com/downloads/asc2.html
    but this page now redirects to:
    http://helpx.adobe.com/air/kb/archived-air-sdk-version.html
    which contains a large list of archived SDK's. So that help page never really says which version of the SDK to use - with or without the compiler. But other forum posts have implied its suppose to be the one with the compiler.
    Now since we're overlaying the ...plugins\com.adobe.flash.compiler_4.7.0.349722\AIRSDK folder that would make sense.
    But now there's a second overlay instructions page at:
    http://helpx.adobe.com/x-productkb/multi/how-overlay-air-sdk-flex-sdk.html
    with different instructions.
    So my questions are:
       Which overlay instructions are we really suppose to use?
       Which version of the AIR SDK (with or with-out compiler) are we suppose to use?
       What does the Flex Library Project properties -> Flex Library Compiler -> 'Include Adobe AIR libraries' checkbox really do?
            If I've followed the (first) overlay instructions above, does this checkbox now mean I'm using the overlaid AIR SDK 3.6
            with the current Flex SDK I've chosen?
            What if I'm using the Apache Flex 4.9.1 SDK? Will the AIR SDK 3.6 overlay that?
                (Doesn't Apache Flex have AIR 3.4 embedded - will this confuse Flash Builder 4.7 ?)
    Is it just me, or is this just getting more and more confusing? Can we perhaps get a AIR SDK combo box to go beside the Flex combo box and when we check the 'Include Adobe AIR libraries' then we can select the AIR SDK we want? And get a 'configure AIR SDKs...' link too? Then perhaps we can get completely away from overlays and all this merged SDK nonsense. I've had nothing but problems with it.
    The real reason I need all this info is because I'm trying to use Flash Builder 4.7 to build an Android ANE and I'm having a devil of a time just trying to find my resources. When I use context.getResourceID() I'm not getting the correct resources - and after reviewing other posts here I came to the conclusion that it might be due to bugs in older AIR SDK's. So really, at the moment I could care less about the latest Flex SDK, I just need to know I'm working from the latest AIR SDK.
    Thanks in advance.

    If you are not using Flash Builder go here: http://www.adobe.com/devnet/air/air-sdk-download.html
    At the bottom it says:
    Note : Flex users will need to download the original AIR SDK without the new compiler. Mac Windows.
    Download the proper one for your OS and then extract it over your existing Flex SDK directory.
    EDIT: Just read your post again and noticed you mentioned Flash Builder. In that case you want to follow these directions: http://helpx.adobe.com/flash-builder/kb/overlay-air-sdk-flash-builder.html and grab the version with the compiler at http://www.adobe.com/devnet/air/air-sdk-download.html

  • Error "Could not resolve s:ViewNavigatorApplication to a component implementation...", after overlaying with AIR SDK 13.0

    Just installed FB 4.7, overlayed with AIR SDK 13.0, started FlexMobileProject and I get this error "Could not resolve <s:ViewNavigatorApplication> to a component implementation...", which I can't get rid of. Tried 3-4 times, error stays.
    I overwrote the Flex sdk 4.6.0 with Air SDK 13.0.
    Is this a bug? Please help.

    Thanks for the reply. I tried changing to the airmobile-config.xml but then I got the same error with a different componenet.
    Error: Could not resolve <r:QContainer> to a component implementation. <r:QContainer id="d">
    Could this related to a missing SWC from my build path do you think?

  • Why reloading pure asset SWF with AIR sdk 3.6+ doesn't work?

    Hi, I posted this in the AIR beta channel, but I think it suits better here... I'm sorry for double posting.
    Hi,
    I have a game targeting iOS using AIR sdk that needs to load many swf assets from the disk (packaged with the game). When using AIR sdk 3.5, everything runs just fine. When upgrading the sdk to 3.6 or later (-swf-version=19, 20, 21), we ran into the following problems:
    1) The packaging time (making the ipa file for iOS) passes from 15 minutes to 40+ minutes.
    2) The game can't load any swf twice (ie. reload a swf).
    The first problem is not a big deal. We only have to wait a little bit more. Our guess is that is has to do with new feature introduced by the sdk 3.6, which will go through all packaged secondary swfs and remove the code from it, and since we have lot of swf assets, it takes more time.
    The second problem is way more serious, as I have to be able to reload assets according to player's action. Since we have a ton of assets, I can't keep them all in the memory as we could quickly run out of memory.
    I know that there's a documented limitation of sdk 3.6 which states:
    In AIR apps on iOS running in AOT mode there is a problem when a SWF is reloaded. Therefore reloading a SWF will not be allowed for AIR apps for iOS in AOT mode and attempting to do so will result in following error:
    Error 3764: Reloading a SWF is not supported on this operating system
    It also says that "Reloading of pure asset SWFs will work with AIR 3.7". However, that's not true, since all my assets are pure asset SWF without any code inside. It won't work, even with AIR 3.8.
    While searching on the internet, I came across a forum post that says that the only way to know if a swf is a pure asset swf, is by using swfdump.exe, and searching for the DoABC2 tag. I did it, and effectively, DoABC2 tag was there, but empty.
    So my first observation is that:
    - Pure asset SWF file containing empty DoABC2 tag can be reloaded using AIR SDK 3.5
    - Pure asset SWF file containing empty DoABC2 tag can't be reloaded using AIR SDK 3.6+
    It seems to me that AIR SDK 3.6+ doesn't care if the tag is empty or not. If it is there, then it's not ok.
    Then I wanted to know why my SWFs have this empty tag. After lot of tests, it turns out that it is because I am using jsfl to automate the export of assets from a FLA file. And there comes my second observation:
    - When exporting a swf without code from Flash IDE (Ctrl+Alt+Shift+S), there's no empty DoABC2 tag.
    - When exporting a swf from the Flash IDE's library (right click on the library Movieclip -> Export Flash movie...), empty DoABC2 tag is automatically inserted.
    Unfortunately, my jsfl script uses thee same Library export functionality, and it produces the same "contaminated" swf. Why doesn't it produce the same SWF from both ways of export? I have no idea.
    In the perfect world, the AIR SDK would not only look for the DoABC2 tag, but it should check whether if there's code inside. Also, Flash should use the same export process disregarding if it is being called from the IDE or the Library, and not inserting empty DoABC2 tag when there's no code.
    As for now, I can't find any workaround to solve my problem. That means that I'm stuck with swf-version=18, and I can't benefit from all the cool features such as rectangle textures, new Context3DTextureFormat etc.
    If anyone has a solution, or simply pointing out what I'm doing wrong here, please share it.
    Thanks for reading.
    Iojeirg

    Hi makc3d,
    Thanks for the response. After all that time I started losing hope.
    I would not say that the abvious solution is to remove the tag. I think it should not be put there in the first place if there's no code at all. Moreover, this only happens when exporting a MC from the Library, and it works just fine when exporting normally (publish). It seems more like a bug than an expected behaviour.
    Also, AIR should check for actual code in this tag instead of relying only on the tag itself.
    Your solution is a nice workaround, and I will certainly try that out. But as I said, it will not fix the original bug, it will only patch it later on in the process.

  • Soft KeyBoard is not working on ios 7 with Air sdk 3.8

    Hi
    In my app Soft KeyBoard is not working on ios 7 with Air sdk 3.8. Does any one know soluton for this ?

    Hi,
    There's no question that TextFields and TextAreas weren't working in our case, likely because we have a deep displaylist with a variety of object types. Presumably, AIR has changed how it looks through the displaylist for objects that need keyboard, and perhaps we have an object type somewhere in the hierarchy that AIR no longer recurses. It's definitely something that changed, though.
    It's no picnic to put together a sample app, I can't afford that time when I have a solution. But the symptom was very clear, a textbox would open, and the cursor would just blink with no way of interacting with it.
    I'm happy using StageText directly, because it's a more direct way to interact with the OS and gives more control.
    It also solves a bug in AIR that I haven't reported yet, but is as follows. Rarely, when you move the container of a TextField of TextArea after it has been created, AIR will crash and freeze iOS devices. It doesn't happen on Android or desktop, but with a user-base of about 100,000 of our app, we've had it reported maybe 50 times. One of our dialogs sometimes needs to reposition the elements, which is done animated. During this, AIR will crash about 0.01% of the time. We tried only creating the TextArea, but not activating it or even having it visible, but even an invisible TextArea will crash, presumably because AIR moves the internal StageText overlay around as well, and this confuses iOS after a while during the animation.
    By using StageText directly, I finally also have a way to get rid of this bug, because I simply don't activate StageText until the object has already been positioned. Prior to that, it isn't even an editable text field, it's a label like anything else. So I'm happy I did this solution.
    Let's just leave this thread as a record if someone else has the same problem. I'm quite sure it's because of our very complicated display list, and AIR having changed how it scans the displaylist for objects that need keyboard.
    Best,
    Per

  • Fb 4.7 air sdk 15.0.0.349 Error occurred while installing the application

    Hi
    Im using fb 4.7 air sdk 15.0.0.349 with Macosx 10.9.4, xcode 6.1 (ios simulator 8.1) and i keep getting the following response when debugging with ios simulator:
    Error occurred while installing the application:
    Session did end with error (null)
    Can you help?  Is this a bug being fixed yet?
    Thanks.
    zed0784

    Sorry i was refering to my other post. I am on FB 4.7, AIR 15 SDK 15.0.0.356, Xcode Version 6.1 (6A1052d) with the same problem on Mavericks on my MacPro and Yosemite on my MacBook Pro. My App (which uses Feathers and Starling) didnt work at all and even got rejected for Testflight testing because is was crashing immediately on iOS 8.1. I found out that this was related to the new compiler so "-useLegacyAOT yes " solved that problem.
    But the problem that i cannot test in iOS simulator at all still persists. (Session did end with error (null))

  • Adobe Air SDK 16.0

    Trying to use newly compiled MoPub ANE with Universal Binary Plugin x86 support for IOS Platform with Adobe Air SDK 16.0 for IOS App, i am encountering this compile time error.
    Adobe AIR
    [java] Picked up _JAVA_OPTIONS: -Xmx512m
         [java] Picked up _JAVA_OPTIONS: -Xmx512m
         [java] Undefined symbols for architecture armv7:
         [java]   "_OBJC_CLASS_$_VungleSDK", referenced from:
         [java]       objc-class-ref in libcom.sticksports.nativeExtensions.MoPub.a(VungleInterstitialCustomEvent.o)
         [java] Compilation failed while executing : ld64
         [java] ld: symbol(s) not found for architecture armv7
    MoPub XCode Project is compiled with Standard Architecture.
    Have tried out all possible solutions
    Any Possible solutions??

    Chris,
    Thanks for your prompt reply. I have found the way to reproduce. It is about interfaces, and when I try to call a method through an interface the app crashes. I think that it is related to having an interface with many parameters. I have logged the bug here:
    Bug#3935199 - iOS App crashes when calling an objects method through interface

  • Performance issue on iPad4 with AIR SDK 3.9

    Hi!
    I have an app that I've created with Flex SDK 4.6.0. The first time I've  compiled the app with AIR SDK 3.1 and it runs with good performance on iPad4 (and little bit slow on oPad2). Then I've upgrated the AIR SDK to the version 3.9 and suddenly my app starts to run slow (but on iPad2 performance is good)
    Is it any known problem with AIR SDK 3.9  on iPad4? Or on iOS 6.1?
    Should I downgrade the AIR SDK back to 3.1 to get good performance on iPad4?
    Thanks in advance
    UPD: I've downgraded the AIR SDK to 3.1 and my app get back the good performance! (But there's some strange bugs)
    Message was edited by: yx

    Hi Nimit!
    1. I've upgraded AIR SDK to 4.0 beta and the problem is gone away.
    2. Unfortunately  I'm not sure I can share my app - it's not in the policy of the company I'm working for. I'll check it out with my boss
    Than you,
    Olga

  • It's back! Bad aapt file in AIR SDK 3.4.0.2710 and can't compile in Flash Pro!

    It's happened again! This also happened in a version of AIR SDK 3.3 and I had to rollback. I reported that issue as well. (search aapt)
    Flash Professional CS6 REQUIRES an aapt.exe file, not an aapt file, but aapt.exe file in \AIR_SDK_3.4.0.2710\lib\android\bin\
    in order to build AIR for Android apps.
    Can't you put something in your build tests to cover this?
    Go back and look at 3.4.0.2540 and you will see a aapt.exe file at this location within the SDK and it doesn't exist in 2710.
    I'm running the latest version of Flash Pro CS6.
    I'm also seeing all kinds of weirdness now with my AIR for Android builds that use ANE files. After the ANE pops an ad, my app won't properly update its screen unless its "nudged" with a tap on the touch screen. I was fine when I was building and testing under 2540 but I updated my Droid 2 test device to AIR 2710 the other day and now I'm having problems. Not good to think all the apps I've already published out may now be having severe problems if users have upgrade their AIR SDK.. Can't confirm that 2710 is the problem until I rollback my test device back to AIR 2540 though. Looks like you may be trying to fix this issue in 3.5 Beta - that's good.

    Hi Kevin,
    Dunno if you saw my other post to you, but I've put up a copy of the SDK that you were looking for and asked that we change our procedures going forward.  As for the actual issue, would you mind creating a bug report at bugbase.adobe.com if you haven't already?
    Thanks
    Chris

  • FlexNativeMenu issues under AIR SDK 3.9

    Hello,
    I'm trying to recreate a custom XML-based FlexNativeMenu (an Adobe.com example) by using the latest air sdk 3.9 (flex sdk 4.6.0 + air sdk 3.9)... The mxml code I'm trying to run is:
    <?xml version="1.0" encoding="utf-8"?>
    <!-- aircomponents/src/NativeMList.mxml -->
    <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
                                                         xmlns:s="library://ns.adobe.com/flex/spark"
                                                         xmlns:mx="library://ns.adobe.com/flex/mx" menu="{testMenu}">
      <fx:Declarations>
      <!-- The XML data provider -->
                        <fx:XML format="e4x" id="menuData">
                                  <root>
                                            <menuitem label="MenuItem A">
                                                      <menuitem label="SubMenuItem A-1" type="check" toggled="true"/>
                                                      <menuitem type="separator"/>     
                                                      <menuitem label="SubMenuItem A-2"/>
                                                      <menuitem label="SubMenuItem A-3">
                                                                <menuitem label="Sub-SubMenuItem A-3-1"/>
                                                                <menuitem label="Sub-SubMenuItem A-3-2" enabled="false"/>
                                                                <menuitem label="Sub-SubMenuItem A-3-3"/>
                                                      </menuitem>
                                            </menuitem>
                                            <menuitem label="MenuItemB">
                                                      <menuitem label="SubMenuItem B-1"/>
                                                      <menuitem label="SubMenuItem B-2"/>
                                            </menuitem>
                                  </root>
      </fx:XML>
                        <mx:FlexNativeMenu id="testMenu" dataProvider="{menuData}" labelField="@label" showRoot="false"/>
      </fx:Declarations>
    </s:WindowedApplication>
    However, every time I'm running the debugger, the same issue appears (something related to dataDescriptor):
    [SWF] testmenu.swf - 1,700,179 bytes after decompression
    ReferenceError: Error #1065: Variable mx.controls.treeClasses::DefaultDataDescriptor is not defined.
              at mx.controls::FlexNativeMenu()[E:\dev\4.y\frameworks\projects\airframework\src\mx\controls\FlexNativeMenu.as:733]
              at testmenu/_testmenu_FlexNativeMenu1_i()
              at testmenu()[/Users/Minopharma/Documents/Adobe Flash Builder 4.6/testmenu/src/testmenu.mxml:5]
              at _testmenu_mx_managers_SystemManager/create()[_testmenu_mx_managers_SystemManager.as:51]
              at mx.managers.systemClasses::ChildManager/initializeTopLevelWindow()[E:\dev\4.y\frameworks\projects\framework\src\mx\managers\systemClasses\ChildManager.as:311]
              at mx.managers::SystemManager/initializeTopLevelWindow()[E:\dev\4.y\frameworks\projects\framework\src\mx\managers\SystemManager.as:3057]
              at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::kickOff()[E:\dev\4.y\frameworks\projects\framework\src\mx\managers\SystemManager.as:2843]
              at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::preloader_completeHandler()[E:\dev\4.y\frameworks\projects\framework\src\mx\managers\SystemManager.as:2723]
              at flash.events::EventDispatcher/dispatchEventFunction()
              at flash.events::EventDispatcher/dispatchEvent()
              at mx.preloaders::Preloader/timerHandler()[E:\dev\4.y\frameworks\projects\framework\src\mx\preloaders\Preloader.as:542]
              at flash.utils::Timer/_timerDispatch()
              at flash.utils::Timer/tick()
    Interestingly, when tried to debug the same mxml code above by using air sdk 3.1 (flex 4.6.0 +air sdk 3.1), everything is displaying normal...
    I really don't understand where is the problem? Is it something new/changed in air sdk 3.9 comparing to 3.1 (regarding the same menu component) or is it a bug?
    I would really appreciate any help in solving this issue...
    Regards,
    Nikola

    Hello,
    I'm trying to recreate a custom XML-based FlexNativeMenu (an Adobe.com example) by using the latest air sdk 3.9 (flex sdk 4.6.0 + air sdk 3.9)... The mxml code I'm trying to run is:
    <?xml version="1.0" encoding="utf-8"?>
    <!-- aircomponents/src/NativeMList.mxml -->
    <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
                                                         xmlns:s="library://ns.adobe.com/flex/spark"
                                                         xmlns:mx="library://ns.adobe.com/flex/mx" menu="{testMenu}">
      <fx:Declarations>
      <!-- The XML data provider -->
                        <fx:XML format="e4x" id="menuData">
                                  <root>
                                            <menuitem label="MenuItem A">
                                                      <menuitem label="SubMenuItem A-1" type="check" toggled="true"/>
                                                      <menuitem type="separator"/>     
                                                      <menuitem label="SubMenuItem A-2"/>
                                                      <menuitem label="SubMenuItem A-3">
                                                                <menuitem label="Sub-SubMenuItem A-3-1"/>
                                                                <menuitem label="Sub-SubMenuItem A-3-2" enabled="false"/>
                                                                <menuitem label="Sub-SubMenuItem A-3-3"/>
                                                      </menuitem>
                                            </menuitem>
                                            <menuitem label="MenuItemB">
                                                      <menuitem label="SubMenuItem B-1"/>
                                                      <menuitem label="SubMenuItem B-2"/>
                                            </menuitem>
                                  </root>
      </fx:XML>
                        <mx:FlexNativeMenu id="testMenu" dataProvider="{menuData}" labelField="@label" showRoot="false"/>
      </fx:Declarations>
    </s:WindowedApplication>
    However, every time I'm running the debugger, the same issue appears (something related to dataDescriptor):
    [SWF] testmenu.swf - 1,700,179 bytes after decompression
    ReferenceError: Error #1065: Variable mx.controls.treeClasses::DefaultDataDescriptor is not defined.
              at mx.controls::FlexNativeMenu()[E:\dev\4.y\frameworks\projects\airframework\src\mx\controls\FlexNativeMenu.as:733]
              at testmenu/_testmenu_FlexNativeMenu1_i()
              at testmenu()[/Users/Minopharma/Documents/Adobe Flash Builder 4.6/testmenu/src/testmenu.mxml:5]
              at _testmenu_mx_managers_SystemManager/create()[_testmenu_mx_managers_SystemManager.as:51]
              at mx.managers.systemClasses::ChildManager/initializeTopLevelWindow()[E:\dev\4.y\frameworks\projects\framework\src\mx\managers\systemClasses\ChildManager.as:311]
              at mx.managers::SystemManager/initializeTopLevelWindow()[E:\dev\4.y\frameworks\projects\framework\src\mx\managers\SystemManager.as:3057]
              at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::kickOff()[E:\dev\4.y\frameworks\projects\framework\src\mx\managers\SystemManager.as:2843]
              at mx.managers::SystemManager/http://www.adobe.com/2006/flex/mx/internal::preloader_completeHandler()[E:\dev\4.y\frameworks\projects\framework\src\mx\managers\SystemManager.as:2723]
              at flash.events::EventDispatcher/dispatchEventFunction()
              at flash.events::EventDispatcher/dispatchEvent()
              at mx.preloaders::Preloader/timerHandler()[E:\dev\4.y\frameworks\projects\framework\src\mx\preloaders\Preloader.as:542]
              at flash.utils::Timer/_timerDispatch()
              at flash.utils::Timer/tick()
    Interestingly, when tried to debug the same mxml code above by using air sdk 3.1 (flex 4.6.0 +air sdk 3.1), everything is displaying normal...
    I really don't understand where is the problem? Is it something new/changed in air sdk 3.9 comparing to 3.1 (regarding the same menu component) or is it a bug?
    I would really appreciate any help in solving this issue...
    Regards,
    Nikola

  • Recent air sdk (air 4.0 beta) is still not support xxhdpi

    my application is set applicationDPI = '320'. and is working well in hdpi, xhdpi etc devices...
    but new devices like galaxy S4 is 1920x1080 xxhdpi.
    air 3.9, and this 4.0 version is not support that dpi, then my app layout is still broken.
    this bug is fixed on Apache Flex SDK. so I used that sdk. but i want official adobe air sdk. is have adobe plan of resolving this?..

    I agree - this is not working for me either. Here are more details:
    I'm having a similar issue where an iPad Mini w/ Retina display appears to be a low res deivce:
    Apache SDK 4.12
    FlashBuilder 4.7
    .ipa compiled on both Mac and PC
    tried pointing to an iOS 5.1 SDK during compile on both Mac and PC
    app descriptor:
    <iPhone>
            <InfoAdditions><![CDATA[
                 <key>UIDeviceFamily</key>
                 <array>
                        <string>1</string>
                        <string>2</string>
                   </array>
                   ]]>
            </InfoAdditions>
            <requestedDisplayResolution>high</requestedDisplayResolution>
    </iPhone>
    Test app reports -
    Capabilities.screenResolutionX: 768
    Capabilities.screenResolutionY: 1024
    Capabilities.screenDPI: 132
    stage.fullScreenWidth: 1024
    stage.fullScreenHeight: 768
    I'm expecting higher resolution and DPI. Any ideas why?
    Test code is here:
    https://www.dropbox.com/s/u072ou6enxa54k9/src.zip
    Please let me know what else I can provide in order to help troubleshoot.

  • What's new in AIR SDK 3.1.4880?

    I just noticed that you silently updated the AIR SDK 3.1 to 3.1.4880.
    Comparing the files you can see 23 files were updated in January 9th, 2012.
    The original 3.1 SDK was from November 7th, 2011.
    Why don't you include a "what's new" file inside the ZIP?
    I suppose this new build is just a bugfix release, but you could still tell what's been fixed.
    So, what's the difference between this newer 3.1 SDK (build 4880) and the older 3.1?
    Regards,
    OMA

    Hello Chris.
    Thanks for your reply. As far as I know, AIR 3.1 SDK was first released in November 2011, wasn't it?
    You can even see that all files inside the original 3.1 ZIP have a 7th of November date.
    I already have the original 3.1 SDK for Windows, because I already downloaded it when it was released,
    but BDindeblender is asking for the original 3.1 SDK for Mac, which unfortunately I don't have,
    because I usually work in a Windows environment (except when I have to upload to Apple's App Store).
    The version currently available at Adobe's SDK page is 3.1.0.4880 which was released in January, 2012
    (until it gets replaced with the 3.2 SDK when the Release Candidate becomes Final)
    http://www.adobe.com/devnet/air/air-sdk-download.html
    The problem with this updated "4880" build is it has a bug that the original 3.1 didn't have, described here:
    https://bugbase.adobe.com/index.cfm?event=bug&id=3121219
    I hope this bug isn't carried over to the new 3.2 SDK. I still haven't tried it, so I can't comment on that yet.
    Regards.

Maybe you are looking for

  • Various questions on SAP XI usage

    Hi XI Experts, I have few questions on SAP XI usage : Q1-Does SAP XI is unique - client like BW ? If multi - clients is possible is there any particular usage recommandations when in design, configuration and production deploiement on PRD SAP XI Syst

  • How to create simple equation automation

    Hello, Is it possible to create a calculator automation? I have to do this same simple equation many times in the day and would love if there was an automation to make things faster. Any thoughts would be very apprecaited!  (inputed number) divided b

  • Command line jardesc building

    Hi, Is it possible to build a jar file from the command line using the jardesc produced by Eclipse? The reason I want to do this is to add automated unnattended building of jar files as part of a release system. Thanks, Message was edited by: Crisps

  • Win 7 install permission issues

    Hello, I had the flash player crash, so iI uninstalled it now i can't reinstall due to permission issues.  I have done the steps recommended in the troubleshooting, but has i run them, I see alot of failed operations in the dos window.

  • Safari not opening on Start Up

    I've set Safari to open on start-up of the computer. It worked fine for many years but has now stopped. Safari opens but no pages load. I just have the Safari Menu Bar at the top.  I've removed it from Prefs/Accounts/Log-In Items and then re-added it