Would you like to tell us how we are doing?

You bet No thanks

Adobe AIR 3.1 legacy compiler workaround

There is a known issues in Adobe Flash Builder 4.7 where Export Release creates a broken SWF file when using the Fuse UI.  You can work around this issue by using a legacy compiler with your application. (295619)  

  1. In the Package Explorer view, right-click your ActionScript mobile project.
  2. Click Properties.
  3. Click ActionScript Compiler.
  4. In the Additional compiler arguments field, type -swf-version 14.
  5. Click Apply.
  6. Expand ActionScript Build Packaging. Click BlackBerry.
  7. In the Advanced tab, in the Extra packaging option field, type -forceAirVersion 3.1.
  8. Click Apply.
  9. Click OK.

Edit the .actionScriptProperties file

  1. Locate the .actionScriptProperties file for your project. It is located in the Flash Builder workspace.
  2. Open the file in a text editor, change useFlashSDK=”true” to useFlashSDK=”false”.
  3. Save your file.
  4. Restart Flash Builder 4.7.

Update the ActionScript Compiler properties

  1. In the Package Explorer view, right-click your ActionScript mobile project.
  2. Click Properties.
  3. Click ActionScript Compiler.
  4. In the Flex SDK version section, select Use Legacy compiler.
  5. Click Apply.
  6. Click OK.

Update the project namespace

  1. Open the <Project>-app.xml file.
  2. In the <application> element, set the XML namespace to the version 3.1 of AIR runtime.
    <application xmlns="http://ns.adobe.com/air/application/3.1">
  3. Save your file.

Clean your project

  1. On the Project menu, click Clean.
  2. In the Clean window, select the checkbox for your project.
  3. Click OK.