05-01-2011 02:52 PM - edited 05-01-2011 02:53 PM
When you try to debug an application right out of Flash Builder 4.5:
The application will install correctly, but you won't be able to launch it.
The problem lies in the namespace of the AIR SDK 2.6. Change the
"2.6" in your application descriptor file to "2.5". But that isn't all.
You have to specify one additional compiler argument in the preferences panel
for your project: "-swf-version=10".
Now debugging will function normally.
The only drawback is that you are no longer able to use AIR 2.6 specific APIs.
Hopefully, RIM will update the SDK sooner or later, rather sooner.
05-01-2011 03:18 PM - edited 05-01-2011 03:25 PM
wait... i use Flash Professional but i'm confused about this – is it not possible to have both AIR 2.5 and AIR 2.6 in Flash Builder 4.5 and choose which SDK to link against? Flash Professional CS5.5 has the option to compile against either so i would be surprised if this wasn't also an option in Flash Builder 4.5.
[EDIT] if your concern is due to no longer being able to download the AIR 2.5 SDK from Adobe's site, i just remembered that Ryan Stewart recently posted links to the AIR 2.5 SDK: Getting the AIR 2.5 SDK
05-01-2011 03:26 PM
05-01-2011 04:32 PM
It would be ok when Flash Builder 4.5 release this month. All new swf version will change to 11. The Blackberry SDK should also updated (maybe included in FB4.5) at the same time.
05-01-2011 10:42 PM
I posted in another thread a quote from one of the FAQ's for Flash Builder 4.5 that it uses AIR 2.6, but the Playbook uses AIR 2.5. Are you saying if I have the installer for 2.5 laying around, I can add it to FB 4.5 and everything will work?
05-02-2011 05:50 AM