Archive for the ‘AIR / Apollo’ Category

While working on creating an installer badge for an AIR application I’m working on, I kept receiving the following error when trying to install the application: Error# 2032

error2032.png

After doing a bit of Googling, the most common solution I found was to make sure that the MIME-type for AIR was set on your server so that it would recognize the AIR filetype.

You can do this by adding the following line to the .htaccess file for your server: (I’m not a server guru, so this may not work in all cases, but it works on the Apache server I’m using.)

AddType application/vnd.adobe.air-application-installer-package+zip .air

After adding this I was still receiving the error. So… a little more time searching, and I found another piece to the solution - I had been using a relative path name in the flashVars for my installer badge. That doesn’t work. Apparently, while you can use a relative path for the thumbnail image displayed by the badge, the actual path to the .air installer file must be the full path to the file. (http://www.domain.com/pathToInstaller.air).

Since it took me a little bit longer to find that part of the solution, I wanted to post it here, just to add one more place where you might be able to find it. These aren’t the only two reasons why you could receive this error, but at least it’s two more possible solutions.

Sure, there are several places out there where you’ll find this information, but nothing really in an easy-to-print form you could hang on your cube wall.

This list is far from comprehensive, but it’s a list of the ones I use most often, and find the most useful. There’s a reason I made the first one on the list “View all Shortcuts”.

As I’m a Mac user, the shortcuts are for the Mac version of Flex Builder, but I would assume that you Windows folks can just use Ctrl instead of the Command key.

Here’s a nice PDF, ready for printing: FlexBuilderShortcuts_MAC.pdf

If there’s something you really feel strongly about me having left off of the list, let me know in the comments, and I’ll add it to the list.

Just a reminder of a nice resource available for those of you developing AIR/Apollo apps. Adobe has the full PDF of the Apollo for Adobe Flex Developers Pocket Guide available for download from labs.adobe.com.

You can also buy the book in print form, or, save yourself $15 and get it now.

Entries (RSS) Comments (RSS)