AIR SDK 3.7 include-sources repeatable are broken

Hi.
I've recently tried to upgrade the SDK I'm using (3.3) to latest version. The upgrade resulted in failed builds. Upon firther investigation it turned out that only one class was compiled into SWC, not all.
We use ANT to compile SWC files like this:
<compc output="${project.name}.swc">
                              <source-path path-element="${src.dir}" />
  <include-sources dir="${gamedata.dir}" includes="**/*.as" append="true" />
                              <include-sources dir="${src.dir}" includes="**/*.as" excludes="some/package/*.as" append="true" />
</compc>
Internaly this results in a command like this:
compc -output=xxx.swc -include-sources+=a/b/A.as -include-sources+=a/b/B.as -include-sources+=a/b/C.as
The resulting xxx.swc only con-tains a.b.C class
Some extra testing showd that the folowing syntax work correcty:
compc -output=xxx.swc -include-sources+=a/b/A.as,a/b/B.as,a/b/C.as
Digging through the bytecode, I found the probable cause of this error.
In compile.jar, com.adobe.flash.compiler.config.Configuration method setIncludeSources is called for every "-include-sources" instance on command line. This method in turn calls fillListWithResolvedPaths, that does a target.clear() on every call. This would explain why only the last passed value in command line is actualy processed.
I tried this also with SDK 3.5 (but did not bother with others) so I assume this bug was introduced with ASC 2.0.
Also I see that "include-stylesheet uses the same internal method, so it should be simillary affected.
I'd realy like to use the new SDK, because of one specific feature (stack traces in release code, swf 18, http://www.adobe.com/devnet/articles/flashplayer-air-feature-list.html). Switching the old SDK with the new produced failed builds.

Hi Chris.
I tried to understand '-includes', but I somehow couldn't get it to work on a set of files.
Anyway, I saw that there was some movement on the bug report I opened, but nothing concrete. I hope this will be treated as a bug that breaks old behaviour nad as it seems trivial from my point of view (I don't know your internal procedures) and will be fixed before the next release of SDK.
Thanks again. I will mark your first answer as correct.
Best.

Similar Messages

  • 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

  • Where can I find [AIR SDK]/lib/legacy/fdb.jar sources?

    Hi,
    AIR SDK 3.4 and 3.5 distributives that include ActionScript Compiler 2.0 also contain command line debugger tool (fdb) that is able to debug ActionScript workers. Corresponding jar files are [AIR SDK]/lib/legacy/fdb.jar and [AIR SDK]/lib/legacy/legacy-common.jar. Fdb has been an open-source tool for years. Where can I find sources of the most recent fdb versions? Old svn repo is not updated for a long time.

    Thanks, any response from the FDB team?
    How can I contact them directly?
    Are they going to integrate recent changes into Apache Flex SDK repository?

  • Error Upgrading to AIR SDK 3.5 in FlashBuilder 4.7

    Whenever I try to upgrade to AIR SDK 3.5 distribution (by overlying it over AIRSDK) using the following instructions I get an exception (below) when I try to start up FlashBuilder 4.7. 
    Am I missing a step?  A SDK upgrade tool would be a nice feature.
    Installation Instructions
    Flash Builder 4.7
    Note:
    Flash Builder 4.7 Beta 2 includes AIR 3.4 SDK with ASC 2.0 Preview 3.
    All Flash Builder 4.7 ActionScript projects now use ASC 2.0 by default.
    To manually apply a later preview of AIR SDK with ASC 2.0 to a Flash Builder 4.7 Beta 2 release, unzip the AIR SDK with ASC 2.0 distribution
    over the captive version of the AIR SDK in Flash Builder 4.7.
    The default locations of the AIR SDK in FB 4.7 Beta 2 are outlined below:
    Mac OSX: /Applications/Adobe Flash Builder 4.7/eclipse/plugins/com.adobe.flash.compiler_4.7.0.348297/AIRSDK
    Windows 7 (64-Bit): C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64
    Bit)\eclipse\plugins\com.adobe.flash.compiler_4.7.0.348297\AIRSDK
    Note: The distribution of the AIR SDK with ASC 2.0 is for pure-ActionScript development only. It should not be combined with an existing Flex
    SDK. To update a Flex SDK with a later version of the AIR SDK, use a standard distribution that does not include ASC 2.0. See
    http://www.adobe.com/devnet/air/air-sdk-download.html.
    On Mac OSX, be mindful that copy operations clobber the contents of the destination - you can merge folders using the ditto command o
    org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter$TerminatingClassNotFoundExcep tion: An error occurred while automatically activating bundle com.adobe.flexbuilder.as.editor (24).
              at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLa zyStarter.java:122)
              at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java :462)
              at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoade r.java:216)
              at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:400)
              at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:476)
              at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:429)
              at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:417)
              at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.jav a:107)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
              at org.eclipse.osgi.internal.loader.BundleLoader.loadClass(BundleLoader.java:345)
              at org.eclipse.osgi.framework.internal.core.BundleHost.loadClass(BundleHost.java:229)
              at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadClass(AbstractBundle.java:120 7)
              at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(Re gistryStrategyOSGI.java:174)
              at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionR egistry.java:905)
              at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(Configu rationElement.java:243)
              at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(C onfigurationElementHandle.java:55)

    Now that there are pre-combined distributions of AIR 3.5 SDK with ASC 2.0 Preview 4,
    http://labs.adobe.com/technologies/asc2/
    ...you could avoid attempting an overlay. Try:
    1. Closing FB 4.7.
    2. Backing up FB 4.7's old AIRSDK folder by renaming it to something else.
    3. Unzipping the pre-combined AIR 3.5 SDK with ASC 2.0 Preview 4 and putting it in place of the old AIRSDK folder with the exact name.
    4. Starting FB 4.7.
    FB 4.7 does plan to offer in-tool upgrades to official AIR SDK with ASC 2.0 distributions.

  • ANT build produces not working package with 3.5 AIR SDK

    I used AIR SDK 3.1 and have ANT script to compile and package iPad(AdHoc for testing) application. I tried to switch to 3.5 SDK today but when I install *.ipa and launch on iPad it hangs at the spalsh screen.
    I tried to make release build using Flash Builder UI and it worked. So the question is has anything changed in terms of packaging/compilation options?
    Just in case attached my current ANT script:
    <target name="Compilation" depends="Initialization">
         <mxmlc file="${main_class}" output="${swf_file}" locale="${LOCALE}"  static-rsls="false" accessible="false" configname="airmobile"
                    optimize="true" actionscript-file-encoding="UTF-8" keep-generated-actionscript="false" static-link-runtime-shared-libraries="true"
                   debug="${debug_mode}"  failonerror="true" fork="true"  maxmemory="1024m">
              <source-path path-element="${class_path}"/>
              <load-config filename="${FLEX_HOME}/frameworks/airmobile-config.xml"/>
              <load-config filename="${config_file}"></load-config>
              <library-path dir="${lib_path}" includes="*.swc" append="true"/>
         </mxmlc>
    </target>
    <target name="Packaging" depends="Compilation">
          <java jar="${ADT}" fork="true" failonerror="true">
              <arg value="-package"/>
              <arg value="-target"/>
              <arg value="ipa-test"/>
              <arg value="-provisioning-profile"/>
              <arg value="${ios_provisioning}"/>
              <arg value="-storetype"/>
              <arg value="pkcs12"/>
              <arg value="-keystore"/>
              <arg value="${ios_keystore}"/>
              <arg value="-storepass"/>
              <arg value="${ios_pass}"/>
              <arg value="${ipa_file}"/>
              <arg value="${app_descriptor}"/>
              <arg value="${swf_file}"/>
              <arg value="-C" />
              <arg value="${class_path}"/>
              <arg value="assets/icons"/>
              <arg value="-C" />
              <arg value="${release_path}"/>
              <arg value="Default-Portrait.png"/>
         </java>
    </target>
    Thanks

    You may want to try using the settings used by Flash Builder to package the application, more details of which can be found at:http://helpx.adobe.com/x-productkb/multi/compilation-results-flex-builder-flex.html
    Update your ANT script with these, and try again.
    Please get back and tell if it resolved the issue and what change you had to made in your ANT script.
    Thanks,
    Neha

  • Does the new AIR SDK support iOS 64-bit for Flex Developers?

    I saw that the new AIR SDK(December 18, 2014) has supported iOS 64-bit, but it was only supported in the new compiler. See this:
    Please note that support for creating universal IPA binaries will only be available in the new compiler. The legacy compiler is not (and will not be)
    compatible with iOS 64-bit. Because of this, it will be removed with version 16 of the AIR SDK. To ensure that Adobe as well as third party tools
    are able to work with this AIR SDK, the -useLegacyAOT option will continue to exist, but will be internally mapped to the new compiler.
    AFAIK, the Flex uses the old compiler and AIR SDK for Flex Developers doesn't include ActionScript 2.0 Compiler. As a Flex developer, what shall I do?

    Hi,
    I guess, you might be packaging IPA on windows machine.  Please try latest beta at http://labs.adobe.com/downloads/air.html which has iOS64 support on Windows machine as well.
    Thanks
    Govinda Gupta

  • How di I run Adobe Air SDK ADL in Linux?

    Hi,
       I downloaded Adobe Air sdk, and want to run adl... But it does nothing at all. No error message, no results, nada.....
    How do I make it at least tell me what it is trying to do? (I renamed adl to adl_linux since there was an adl file already in the flex sdk,
    apparently it is for the mac)
    Here is what I get:
    $ $flexsdk/bin/adl_linux
    $ $flexsdk/bin/adl_linux AirTopo2-app.xml
    $ $flexsdk/bin/adl_linux no-such-file.xml
    $
    Not very helpful....... Is there anything else I need that adl depends upon???
    Thanks,
    Larry

    OK, I am getting further...
      I can get started...
      But I guess Adobe does not know how to build executables in linux without shared libraries. It is just a flag for goodness sake! It includes the code
    in the binary. Yes, it makes the executable larger, but it does not require the user to load a bunch of stuff he does not need/want.
    I now get:
    $ ./adl
    Error loading the runtime (libpangocairo-1.0.so.0: cannot open shared object file: No such file or directory)
    My quandary is this, I work for a large company, there are over 250 developers who each have their own machines and work on the same product. We have professionally managed linux boxes that exist half way across the country. We have our development environment in views that can be created.
    To include this list of shared objects in our linux boxes is not feasible. We could possibly add to our development views, and I will try and modify LD_LIBRARY_PATH to point to location in our views.
    This is a lot of work Because Adobe does not (know about?) want to use the -static flag in "ld" to not use shared libraries (and Adobe does not use Java for adl....)
    It would be really nice if Adobe had a version if the SDK that did not require this huge list of shared libraries that I would not even try and request get installed company wide (my Department's linux boxes and all other standardized development boxes)
    Please, Please, Please use "ld -static" when you link executables for linux! (or make adl a java program)
    I need adl to run regression tests on a part of our product.
    Required libraries
    libgtk-x11-2.0.so.0
    libgdk-x11-2.0.so.0
    libgdk_pixbuf-2.0.so.0
    libgobject-2.0.so.0
    libglib-2.0.so.0
    libgthread-2.0.so.0
    libX11.so.6
    libfontconfig.so.1
    libfreetype.so.6
    libXrender.so.1
    libz.so.1
    libxml2.so.2
    libnss3.so
    libssl3.so
    libsmime3.so
    libnspr4.so
    libdl.so.2
    libplc4.so
    libplds4.so
    libstdc++.so.6
    libm.so.6
    libgcc_s.so.1
    libpthread.so.0
    libc.so.6
    libxslt.so.1
    libcairo.so.2
    libXt.so.6
    libpango-1.0.so.0
    libpangocairo-1.0.so.0
    libpangoft2-1.0.so.0
    libpng12.so.0
    libGL.so
    libkwallet.so*
    libgnome-keyring.so
    libkwalletclient.so*
    libkdecore.so*
    libDCOP.so
    libqt-mt.so
    libhal.so
    libhal-storage.so
    libXext.so

  • How to install AIR SDK 3.1 ( with 3.4 installed )

    I am trying to install a previous version of the SDK    3.1
    I am doing this to accommodate BlackBerry BB10.
    Using the Manage SDK utility in Flash CS6, I currently have installed 3.2 and 3.4.
    When I try to install 3.1 I first get the error that the version of the sdk I am trying to install is not valid.
    Ok, I got around this by placing an  airsdk.xml  file in the SDK directory. Because the Archived 3.1 SDK from Adobe did not have one..  but 3.2 and 3.4 do.
    Ok, not I get the error  that Only SDK higher than version 3.4.2540 may be added.
    So what..  now I cannot add earlier versions?
    Please..  how do I add AIR SDK   3.1 as option for usage in Flash Pro CS6  ?

    Hi Jason..  try the following..  but be warned. I made this up as i went along, so no promises.
    I am not even entirely sure this did the trick.
    That said, I have suffered no ill effect from this.
    Duplicate an existing AIR xml file from that directory ( example: AdobeAIR2_5.xml ).
    Name it AdobeAIR3_1.xml
    Change the first lines to:
    <players>
      <player id="AdobeAIR3_1" version="14" asversion="3" minasversion="3">
        <name>AIR 3.1</name>
        <publishobject2 id="Air_Desktop_iOS" version="3.1" intversion="3.1"></publishobject2>
    Then try to add 3.1 via the Manage SDK Utility.
    If you cannot, remove the 3.4 folder ( rename it ).
    Then restart Flash, run the utility again and it should not have 3.4 anymore..  scared yet?
    Then try to add 3.1 again.
    If it works..  then I am surprised two times now!
    Then add 3.4 again.
    I repeat - this was a hack I was desperate to try and might have gotten lucky.
    There Hopefully, will be someone, one day, who will give both of us more sound advice.
    I can however, now create workable BB10 and PlayBook apps from my SDK 3.1 in Flash.
    I wonder if you and I are in a limited group because we happened to Not have installed 3.1 when it came out.
    Leaped from 2.5 to 3.2  maybe.
    Good luck!

  • 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

  • HT4410 I have just installed Windows 7 64-bit full version Home Premium using Bootcamp and cannot get access to the internet. I installed on a Macbook Air Mid 2012 with Mountain Lion. Are there some drivers that are missing from the Windows 7

    Dear Apple. I have just installed Windows 7 64-bit full version Home Premium using Bootcamp and cannot get access to the internet. I installed on a Macbook Air Mid 2012 with Mountain Lion. Are there some drivers that are missing from the Windows 7 bootcamp install download from Apple

    It is a Total Misconception that the Support files are installed when you are installing Windows, even if the USB drive that holds them is inserted in the system when doing the Windows install.
    You must always Run the Setup.exe files from the support files or run the drivers individually once Windows has finished installing and booted to the desktop.
    Also you really need to run the Boot Camp Control Panel Applet and check for updates as not all the newest drivers for full function of all the hardware is included with the original support download. That download is basically a generic version to get the system working and without doing the updates not everything will work properly.

  • How to install latest AIR SDK (13 or 14) in Flash Pro CS6?

    Hi, I'm using Adobe Flash Pro CS6 on Windows 7 64-bit and I wanted to add latest Adobe AIR SDK, either 13 or 14, but non of them is seen as a valid SDK by Flash.
    I've tried downloading two possible SDKs (SDK & compiler and SDK without compiler) from here: Download Adobe AIR SDK (version 13) and here http://labs.adobe.com/downloads/air.html (version 14). Each time I copied the extracted SDK folder to my Flash CS6 folder where default 3.2 and 3.4 SDKs are located. After that I open Flash, then Help > Manage Air SDK, click on " + ", browse for the new folder, and all I get is "The selected folder does not contain a valid AIR SDK" warning message. It all looks the same with all four SDKs I downloaded!
    Not long ago I added AIR 4.0 without any problems. What am I doing wrong? Is new SDK Flash CC only or what?

    What are you naming the folder?
    Just as a general tip, since many applications (Flash CS4, 5, 5.5, 6, CC) you can save some space by only putting the AIR SDK in one place. Since CS6 and CC have "Manage AIR SDK" in their settings you no longer need to locate that folder like 5.5 which requires you to overlay the AIR 2.6 folder. So save some space and put it anywhere out of the way, out of the Flash folder. I have multiple drives and I have lots of SDKs installed at root on my E:\ (E:\SDK\AIR, E:\SDK\JDK, E:\SDK\Android, etc). I then just go in the help panel like you do and point CS6 and CC to E:\SDK\AIR and they work perfectly fine with the latest SDK released recently.
    Are you updating Flash Player to 13 as well?
    Last, do not download the Flex version for Flash. Flex is for Flash Builder if you intend on using Flex (it is different than Flash).
    Do not get this:
    You want the SDK from the big orange buttons above this warning.

  • Installing and using Adobe Air SDK 2.5 with Flash Professional CS4

    Hi,
    I am trying to install the Air SDK 2.5 with Flash Professional CS4 with the intention of creating a program to use Actionscript 3 to communicate with the UDP interface using datagrams. (The server is the IL2 device link interface) As I am very new to this development environment I was wondering if anyone could answer a few questions.
    1) Can I use datagram sockets with Air 2.5 with Actionscript 3 and Flash CS4?
    2) Is there special procedure for installing the AIR SDK 2.5 or do I use the instructions layout in "How to Overlay the Adobe Air 2 SDK for Use with Flash Professional - Flash professional CS4"?
    3) If I do use those instructions, when I edit the namespace for my application do I set it to 2.0 or 2.5?
    4) As a stepping stone to building my program I was trying to try to build the Actionscript 3  DatagramSocketExample program that is published by Adobe. Unfortunately I am getting a '1046: Type was not found or was not a compile-time constant: DatagramSocketDataEvent'.
    Is there a step by step tutorial on how to get the example code up and running?
    Thankyou for your time and patience with my noob questions
    Ian

    This was part of the AIR 2.0 beta release note, but I used this for 2.5 and it works nice.
    You can try it too an make sure you use 2.5 wherever the not says 2.0beta2.
    Goodluck.
    How to Update Flash CS4 to Use the AIR 2 Beta SDK
    If you use Flash CS4 Professional to build Adobe AIR applications, please follow the instructions below to manually update the version of the AIR SDK to use version 2.0.
    Update Flash CS4 Professional to version 10.0.2 at http://www.adobe.com/support/flash/downloads.html or select "Help > Updates... " from within Flash CS4.
    Quit Flash CS4 Professional if it is open.
    Navigate to the Flash CS4 installation folder. The default location on Windows is "C:\Program Files\Adobe\Adobe Flash CS4\" and on Mac OS "/Applications/Adobe Flash CS4/"
    Within the "Adobe Flash CS4" folder you should see a folder called "AIK1.5". If this folder is not present repeat step #1.
    Rename the folder "AIK1.5" to "AIK1.5 OLD" or delete it if you do not need to save a copy of it.
    Make a new folder called "AIK1.5"
    Download the Adobe AIR 2 SDK from the labs website and uncompress the contents of the folder to the new "AIK1.5" folder you just created.
    Copy the "airglobal.swc" file located within the "Adobe Flash CS4/AIK1.5/frameworks/libs/air/" folder into the "Adobe Flash CS4/Common/Configuration/ActionScript 3.0/AIR1.5/" folder.
    Flash CS4 is now configured to use the AIR 2 beta 2 SDK.
    In order to take advantage of the new AIR 2 beta 2 features, you will need to update your application descriptor file to use the "2.0beta2" namespace.

  • How to install AIR SDK 15 on my iMac

    Hi everyone... I built my iOS app on Flash cs6 (with the latest AIR SDK 15) on my windows computer, but now have access to a Mac. The problem though is that the Flash cs6 on the mac is running AIR 3.2 and I have downloaded the latest AIR SDK 15 for Mac but I don't know how to install it. Can anyone help me?

    I assume its the same as installing any other AIR SDK's. you go to Help >>> Managed Air SDK >>> click on the + sign on the top right >>> navigate to the AIR SDK 15 folder and then done!
    I'm in the same situation as you are but I haven't received my imac YET. so I will let you know once I have done this myself or you can share your experience with us?

  • 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.

  • How to include source code in web dynpro java deployment

    Hi,
    We dont have NWDI.
    We are creating ear files out of web dynpro applications packaging them as sca files and deploying them in server.
    But the source  code is not included in ear.
    How to include source code with your ear/sca , so that when anyone downloads the sca file later, they are build the Project in the studio.
    How would they typically download? Do they require NWDI ,
    Right now we dont have NWDI in place, but we want to do is parcel the applications such that the source code should be available at a later time for download.
    This is possible with .par files , but what about web dynpro?
    Thanks,
    Deb

    If you are not using NWDI use the _comp file.

Maybe you are looking for