Updating Flash Professional CS6 to support 11.4

One of the improvements to Flash Professional CS6 is the ability to manage AIR SDKs. But unfortunately you still have to manually add support for the latest version of Flash Player. Since a public beta of Flash Player 11.4 was just release, this short article might be useful.

Download Flash Player for Desktops

You can get the Flash Player 11.4 Beta from http://labs.adobe.com/downloads/flashplayer11-4.html. Download the version for your operating system and install the plug in. Although you will be able to target the new player, you will not be able to test your movie by using the Run Movie command.

Download PlayerGlobal.swc

This is file can also be found on http://labs.adobe.com/downloads/flashplayer11-4.html. Once this file has downloaded, rename the file to simply playerglobal.swc. Navigate to “/Applications/Adobe Flash CS5.5/Common/Configuration/ActionScript 3.0/” and create a new folder named “FP11.4”. Place the playerglobal.swc in this folder.

Player Folder (before)

Updating Player Profiles

Player profiles are xml files that define the attributes of each Flash Player’s capabilities. They are located in “/Applications/Adobe Flash CS5.5/Common/Configuration/Players/”.

Players xml files (before)

Duplicate the last FlashPlayer11_X.xml file you have, and rename it to FlashPlayer11_4.xml. Open this file in you favorite text editor and make the following three changes:

<player id=”FlashPlayer11.3″ version=”16″ asversion=”3″>
<player id=”FlashPlayer11.4” version=”17” asversion=”3″>

<name>Flash Player 11.3</name>
<name>Flash Player 11.4</name>

<playerDefinitionPath as2=”$(UserConfig)/Classes/FP10;$(UserConfig)/Classes/FP9;$(UserConfig)/Classes/FP8;$(UserConfig)/Classes/FP7″ as3=”$(AppConfig)/ActionScript 3.0/FP11.3/playerglobal.swc” />
<playerDefinitionPath as2=”$(UserConfig)/Classes/FP10;$(UserConfig)/Classes/FP9;$(UserConfig)/Classes/FP8;$(UserConfig)/Classes/FP7″ as3=”$(AppConfig)/ActionScript 3.0/FP11.4/playerglobal.swc” />

Save this file, and launch Flash Professional. You should see FlashPlayer 11.4 as an option in the Publish Setting dialog.

Publish Setting Dialog

Now go build some awesome content with the new features in FlashPlayer 11.4

Note: You test your project in Flash use command + F12 in order to publish to browser (Where you should have the Flash Player 11.4 Beta plugin installed by now).

Managing your AIR SDKs in Flash Professional CS6

One of the new features in Flash Professional CS6, is the integrated management of AIR SDKs. In previous versions of Flash Professional, this was a multi-step process of editing XML files, and managing directories. I have forgotten how many times I missed a simple attribute in an XML file and screwed something up.

Recently I was updating my copy of Flash to use the just released AIR 3.3 SDK. Currently, Flash Professional ships with AIR 3.2 as the target SDK. (I wonder if with the Creative Cloud, would we see a ‘new’ build of Flash Professional that shipped with 3,3?)

The steps to add an additional SDK to Flash Professional are fairly straight forward.

Flash Professional Help Menu

Go to the Help menu, and select Manage AIR SDK…

Note: You will need to have downloaded the AIR SDK previously. This manager does not handle that portion of the process.

Click the + icon in the upper right, and then select the location where you have decompressed the AIR SDK.

And with that, Flash Professional CS6 can now build AIR 3.3 projects. So much easier than before.

But there is a word of caution that needs to be added to this process. After adding the new SDK, I realized that I might want to create a better directory structure to handle possible future versions of Adobe AIR. Here is what my folder initially looked like:

AIR SDK Folder Before

So, I created a directory named 3.3 and moved all the contents into it.

AIR SDK Folder After

I then relaunched Flash, and it crashed with no warnings! I never even saw the splash screen come up. In a bit of a panic, as I was going to be demoing Flash shortly, I copied the AIR SDK back out of the directory I just made, and relaunched Flash. And, you guessed it, no problems. Crisis averted. I went back into the Manage AIR SDK window, deleted the reference to the original 3.3 SDK, then added the version now stored within a better file structure.

I certainly was not expecting such a hard crash do to this issue

Now to file the formal bug report in JIRA…

San Diego CS6 Camp presentations

I had a lot of fun introducing both Adobe Flash Professional CS6 and Adobe Edge (Preview 6) to full classrooms during last weekend’s CS6 Camp. I hope the attendees were able to learn a little bit more about each of the products, and how they fit in today’s ever changing technical landscape.

Here are the slides that used for each session:

San Diego CS6 Camp - Intro to Flash ProfessionalSan Diego CS6 Camp - Intro to Adobe Edge (Preview 6)

Again, thanks to all that attended my session and the entire camp!