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)
- In the Package Explorer view, right-click your ActionScript mobile project.
- Click Properties.
- Click ActionScript Compiler.
- In the Additional compiler arguments field, type -swf-version 14.
- Click Apply.
- Expand ActionScript Build Packaging. Click BlackBerry.
- In the Advanced tab, in the Extra packaging option field, type -forceAirVersion 3.1.
- Click Apply.
- Click OK.
Edit the .actionScriptProperties file
- Locate the .actionScriptProperties file for your project. It is located in the Flash Builder workspace.
- Open the file in a text editor, change useFlashSDK=”true” to useFlashSDK=”false”.
- Save your file.
- Restart Flash Builder 4.7.
Update the ActionScript Compiler properties
- In the Package Explorer view, right-click your ActionScript mobile project.
- Click Properties.
- Click ActionScript Compiler.
- In the Flex SDK version section, select Use Legacy compiler.
- Click Apply.
- Click OK.
Update the project namespace
- Open the <Project>-app.xml file.
- 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">
- Save your file.
Clean your project
- On the Project menu, click Clean.
- In the Clean window, select the checkbox for your project.
- Click OK.