Setting up Flash CS4 to use Adobe AIR 2.6 - air

I use FlashDevelop as my code editor and the Flash CS4 IDE for publishing my AIR files (as well as asset control, animation creation etc...). The bonus of this is the Flash IDE handles all the crap of creating certificates and whatnot very easily as well.
Flash CS4 uses Adobe AIR 1.5, which is very old and I am wanting to update it to AIR 2.6, which as of current writing, is the latest version of AIR. Also, I don't know if this is of any significance, but I would like to publish AIR apps for Android now. I've successfully made an AIR app for PC in the past, using AIR 1.5.
I downloaded the AIR 2.6 SDK from the Adobe website and replaced all the files inside the "AIK1.5" folder of my Flash installation (the folder being still named 1.5 inherently annoys me).
Is there any other steps I must take? Because I'm not convinced I'm publishing AIR 2.6 apps as the application.xml file in my AIR project still reads:
<application xmlns="http://ns.adobe.com/air/application/1.5">
If I change the version in the .xml, Flash explodes (doesn't compile, gives me an error).
Furthermore, if I go File > Publish Settings, then the Flash tab, the player field reads as "Adobe AIR 1.5". Is this right? I'm assuming this will always be this way, even if you do successfully update the AIR version, since apparently Adobe is too lazy to update CS4 so that it can logically figure out it has the new version of AIR.
Also, if AIR is free, why the hell does Adobe not at the very least, release updates to CS4 that update the version of AIR it uses. This seems to be fully within their power, and it seems incredibly negligent that they don't do this for people who have bought their software.
Please, if you could provide clear step by step help, because I'm very ignorant when it comes to development configurations and stuff. I just want to write code and be off.
UPDATE
Once you've updated Flash's AIR library with AIR 2.6, and have compiled your AIR project, make sure you use the new application descriptor template from the AIR SDK. I originally thought it just required changing the version number from 1.5 to 2.6 or whatever new version you're using. As seen below.
<application xmlns="http://ns.adobe.com/air/application/1.5">
But the format as changed, and you really need to use the new template, otherwise it won't work. And when you compile you won't automatically get a preview of your compiled .swf. This will happen in FlashDevelop too if you've set-up your descriptor file incorrectly.

Bzzzzzzt wrong you can hack apart your CS IDE and get it working follow the concepts in this tutorial, they should get you going and you should be able to piece it together from there.
http://swfhead.com/blog/?p=16
If you have any problems just post a comment I'll help you sort it.

You will need to purchase the latest version of Creative Suite or Flash/Flash Builder to take advance of the latest versions of AIR.
Like any other software, releases are versioned with specific features and newer versions support newer features and integration into other newer technologies.
Its like Microsoft is well in their power to provide docx support in windows 2003, but that would just cause compatibilty, support and licensing issues.

These are the tutorial for Flash cs 5:
http://blog.prevail.co.nz/2011/06/21/overlaying-air2-7-in-flash-cs5/
These are the tutorial for Flash cs 5.5:
http://www.yeahbutisitflash.com/?p=2949
http://helpx.adobe.com/x-productkb/multi/overlay-air-sdk-flash-professional.html
This is the tutorial for Flash cs 6:
http://www.leebrimelow.com/?p=3335

Related

Is adobe cs6's plugin available in creative cloud?

I have to upgrade a adobe illustrator plugin from cs4 to the latest adobe creative cloud.
I have search through the net but I cannot find any sdk for creative cloud's plugin development.
So I'm wondering can we use CS6's plugin sdk to build creative cloud's plugin?
Edit:
It seems that adobe haven't release any details about plugins in CC. Anyone knows further information?
In the past, unless you were part of a pre-release program, the SDK has always been released on the same day as the application. Two weeks ago, it was announced that CC would ship on June 17, so the SDK should be available at that time. In the meantime, you might as well use the CS6 SDK to update the plug-in as needed. Then, there should be fewer changes to make when you get the CC SDK. For information on how to join the Adobe Developer program and possibly be eligible to participate in a pre-release program visit http://www.adobe.com/devnet.html.

adobe air: how to embed air runtime or simply distribute air applications?

My question is quite simple: I want to create an adobe AIR application for desktop (windows).
What if an user does not have AIR runtime installed ? Does newest version of AIR come now with EMBEDDED AIR runtime, so it works even for people that do not have AIR runtime installed ?
if not, what would be the simplest way to distribut my AIR application and make sure people that do not have air runtime will be able to run it ?
regards
With the Release of the AIR 3.0 SDK you are now able to distribute Air with your application using the Captive Run Time
This will allow a user to install and run your Air application without having the runtime already installed.
There are some downsides however. For mobile applications (and desktop alike) including the captive runtime can increase the package size by around 10MB. Also, for desktop applications, you will have to package the application natively (ie .exe or .dmg) but if the user doesn't have the runtime installed in the first place they can't run the .air file anyway.
I've had to do this just recently and wanted to know exactly what you just asked.
http://www.adobe.com/devnet/air/articles/badge_for_air.html
That is what you need to know and will answer your question.
All you need to do then is deploy your .air file onto a server somewhere and point the javascript code to it.
HTH
Anthoni

Can I produce a native exe using flash builder and air

Can I produce a native exe using flash builder and air.
I don't want the user to have to get any other dependencies such as air etc. I want everything bundled into a native application, a single exe perhaps that I could produce my own installer using nullsoft or similar.
I've searched around and spoken to people and come to the conclusion that no one is sure, seen some yes and no's.
With flash builder 4.6 they have included the captive build process in the gui. This enables you to produce an exe that is bundled with the AIR Dll's and requirements without the end user ever needing to install Adobe AIR.
Correct: Flash Builder 4.6 has the option right there in the Project menu option, when selecting "Export Release build" :-)

Decompiling Adobe AIR applications

Are there tools for decompiling Adobe AIR applications?
I want to check how do they work on the apps I have made.
Packaged AIR files (those with .air extension) are ZIP files. You can use any ZIP program to pull them apart.
However, AIR apps can be written in Flash, Flex or HTML/JavaScript. If the app you want to look at is not the latter, you will need a Flash or Flex decompiler.
Here is what you are looking for ;)
http://www.sothink.com/product/flashdecompiler/index.htm
Sothink SWF Decompiler claimed the file was corrupt.
What worked for me, was JPEXS Free Flash Decompiler which had the added benefit of being open source and completely free.
https://github.com/jindrapetrik/jpexs-decompiler/releases

Updating Version

I created a new air project in aptana but launching it gets me
This application requires a version of the Adobe Integrated Runtime (AIR) which is no longer supported. Please contact the application author for an updated version.
How does one go about updating the application for a newer version of air? I suspect it is related to
<application xmlns="http://ns.adobe.com/air/application/1.5">
in the application.xml
You installed the AIR 1.0 runtime, mostly sometime before Frebruary 2009. AIR 1.5 was launched on around the last week of February. The runtime installer does check for updates. You will need the updated runtime.
There should be a link where it tells you to update the application (when you launch your application). Just click on it and install the new version of the runtime. In case you missed it -- here's the link.
Read more about AIR 1.5 here.
If I missed the real question -- let me know!