Reputation: 1
I have done it step by step in:http://forums.adobe.com/message/3924433 .
I knew that the flash player now is 11.3, and the version is 16.
I also try to change the and in air-config.xml, airmobile-config.xml, flex-config.xml.
But when I create a mobile project, it said that "air33 does not support mobile projects."
I can use the air33 sdk by change the flexSDK in .actionScriptProperties, and the project run successfully, but I can not open the Design View, It shows "Design Mode not supported - incompatible SDK version"
Upvotes: 0
Views: 3704
Reputation: 1
Regarding cheating Flash Builder about the Flex SDK you are using, I think I've posted a better solution as an answer to this other post in Stack Overflow:
can i use design mode in fb 4.6 if I add apache flex sdk 4.9.1 as my compiler?
The trick is done by patching a byte in a class of Flash Builder 4.6, and after doing so, you can use the Flash Builder's visual designer with any version of Flex SDK you want.
Upvotes: 0
Reputation: 15955
Daniel Albu has some good instructions for overlaying an SDK.
Locate your current SDKs from your Flash Builder directory
Windows 32-bit: C:\Program Files\Adobe\Adobe Flash Builder 4.6\sdks
Windows 64-bit: C:\Program Files (x86)\Adobe\Adobe Flash Builder 4.6\sdks)
Make a copy of the current SDK folder (4.6.0 folder) and change the name of the new folder to 4.6.0_AIR3.3
Overwrite the new SDK folder (4.6.0_AIR3.3) with the newly loaded AIR 3.3 SDK. You should approve all overwrite notifications you get from the operating system during this process.
Rename the new SDK - Go to the new SDK directory (4.6.0_AIR3.3) and edit flex-sdk-description.xml. Change the value inside the tags to Flex 4.6.0 (AIR 3.3).
Add the new ‘Playerglobal.swc’ file to add support for Flash Player 11. Download the Flash Player 11.3 API file “playerglobal.swc” and put it into the new SDK folder. In your new SDK folder go to /frameworks/libs/player/ and create a folder with the name 11.3 and place the “playerglobal11_3.swc” file in it.
Add the AIR 3.3 SDK to Flash Builder. Go to Project -> Properties -> Flex Compiler; Choose “Configure Flex SDKs”; Click Add and choose the our new folder; In the “Additional compiler arguments” text field add “-swf-version=15”
Configure your AIR projects. Set the namespace in your X-app.xml to 3.3 by adding this tag:
<application xmlns=”http://ns.adobe.com/air/application/3.3“>
For web based Stage3D, update the html-template index.template.html
adding params.wmode = "direct";
around line 48.
Upvotes: 4