Is there any way to use the AIR 2 runtime in CS5 Extensions? I need the ServerSocket class real bad...
TIA,
mlavie
Yes you can. Download the Air 2 SDK, and then follow the instructions here: http://kb2.adobe.com/cps/495/cpsid_49532.html
Regards
Hi Bob,
I guess I need your help.
Since applying the AIR 2.7 SDK over the CS5 Flex 3.4 SDK, any attempt to debug results in the dreaded message:
D:\Program Files\Adobe\Adobe Flash CS5\Players\FlashPlayer.exe
Flash Builder cannot locate the required debugger version of Adobe Flash Player. You might need to install the debugger version of the Flash Player or reinstall Flash Builder.
Do you want to try to debug with the current version?
What do I do to solve this?
TIA,
mlavie
AIR 2.0 SDK might be the maximum you can use with Flex 3.4, though off the top of my head I am not entirely sure.
I would try again with AIR 2.0 SDK.
By the way, since Extension Builder 1.0.2, and CS SDK 1.5, the bundled Flex 3.4 SDK should already have an AIR 2.0 SDK overlay. If that's not what you've found please let me know which product and version you are using and someone can look into it.
Hi David,
Since we are not Adobe partners, I don't have Extension Builder. I have to write my extensions "the hard way" using Flash Builder and manually constructing manifests, etc...
I downloaded the CS5 SDK about a year ago. the directory says "CreativeSuiteSDK-1.0.0.201004282239" if that gives you a clue. Is there a newer version of the SDK that I could get without being a partner?
TIA,
mlavie
Yes, CS SDK 1.5 was released a few months ago - see the downloads section on this page http://www.adobe.com/devnet/creativesuite/cs-extension-builder.html
The free SDK has changed little since 1.0, but the AIR SDK overlay should now be present.
Hi Bob,
This may be a configuration issue of the extension. I have noticed that some of my extensions do allow AIR 2.0 classes/methods and some do not. The immediate issue is that some of the extensions have
<application xmlns="http://ns.adobe.com/air/application/2.7">
at the root of their "MyProject-app.xml" file (I mean the file in "src", and not the manifest file under "CSXS")
and some have
<application xmlns="http://ns.adobe.com/air/application/1.5.2">
Now, I am not as stupid as my ex probably told you, so I obviously tried changing "1.5.2" to "2.7" (or "2.6" or "2.0") in the extensions with "1.5.3". But then when I tried to run them, I got the message:
Please correct the following problem in the app.xml file for this application.
invalid application descriptor: descriptor version does not match runtime version
Launch command details: "L:\3rdParty\cssdk-free-1.5.0.201104110936\CreativeSuiteSDK\CS Flex SDK 3.4.0\bin\adl.exe" -runtime "D:\Program Files\Adobe\Adobe Flash Builder 4\sdks\4.0.0\runtimes\air\win" L:\Dev\Product\v1.0\Client\PresentationLayer\InDesignPlugins\Extensio nA\ExtensionA\ExtensionA-app.xml L:\Dev\Product\v1.0\Client\PresentationLayer\InDesignPlugins\Extensio nA\ExtensionA
Any ideas?
TIA,
mlavie
North America
Europe, Middle East and Africa
Asia Pacific