Note that the instructions below apply to IntelliJ IDEA 13.1 (and probably to a few earlier versions).

  1. You might try to create projects, when IntelliJ will expect modules. Read this.
  2. You might expect IntelliJ to automatically include defaults.css stylesheets as FlashBuilder does. Instead, you have to go to Module Settings, select the build configuration for your module, select the Compiler Options tab, click the little button next to "Items to include in output swc:" text field, and select the defaults.css stylesheet.
  3. You might expect IntelliJ to load configuration xml files in the same way FlashBuilder does. However, there is a crucial difference: without the append="true" attribute in these xml tags (the list is not exhaustive): <library-path><external-library-path><namespaces>, IntelliJ will override these values instead of appending to them. This thread was very helpful for migrating our projects to IntelliJ.
  4. You might expect IntelliJ to automatically detect and use the YourAppName-app.xml application descriptor files. It won't. You have to include it manually in Module Settings -> select the build configuration -> select the "AIR package" tab, and click the "Custom Template" radio button, making sure to enter the path to your application descriptor.
  5. Building your projects may throw a Java Heap Space error. If so, you probably need to give the compiler more heap space. You do this in File->Settings->Compiler->ActionScript & Flex compiler->Compiler heap size.
  6. In FlashBuilder you add dependencies between projects and libraries by clicking on Add Project in Project Properties->Build Path. In IntelliJ you "add a dependency on a build configuration". That's in Module Settings->select the build configuration->Dependencies tab->the little green "+" button->"1. Build configuration" from the menu that appears.
  • No labels