====== Using AIR with ASC 1 ====== It's highly recommended to use the latest ASC 2 compiler. This section is provided just for reference, e.g. if you're stuck with Flash Builder 4.6. The ASC 1 compiler is available as a component from the open source Flex SDK. To compile a Starling application for Desktop, you need the Flex SDK; to target mobile or standalone desktop apps, you need the AIR SDK, as well. You need at least Flex 4.6 and AIR 3.4. Get the latest version of those SDKs here. * [[http://www.adobe.com/devnet/flex/flex-sdk-download.html|Download latest Flex SDK]] * [[http://www.adobe.com/devnet/air/air-sdk-download.html|Download latest AIR SDK]] When merging the AIR SDK with the Flex SDK, do not download the "AIR SDK & Compiler". Look for the download links in the section further down the page that starts with the following text, "Note: Flex users will need to download the original AIR SDK without the new compiler." == Merge Flex and AIR SDKs == To install and use a new AIR SDK with ASC 1, you need to overlay it on an existing Flex SDK. This is a bit more tricky on a Mac than on Windows, because OS X does not merge folders by default. - Duplicate the folder containing your current Flex SDK.\\ (In Flash Builder 4.6, that folder is "sdks/4.6.0") - Now merge the new AIR SDK into that folder. * On **Windows**, simply move the contents of the AIR SDK folder into the Flex SDK folder. * On **OS X**, use the ''ditto'' command on the terminal to merge folders:\\ ''ditto '' (this will merge a copy of ''src-dir'' into ''dest-dir'') - Update your IDE's settings so that it uses this SDK when building a project. ----- Back to [[Installation]]