All posts in AIR

Auto-update AIR 2.5 to 2.6

 

Unfortunately the latest release of AIR2.6 in the Flex 4.5 SDK, (bundled with Flash Builder 4.5), has presented a familiar problem trying to auto-update your applications from AIR2.5.

http://forums.adobe.com/message/3650502

We’ve seen this issue before trying to update desktop apps from AIR1.0+ to 2.5 and had to follow a hacky workaround to get users working with the latest version:
http://kb2.adobe.com/cps/873/cpsid_87300.html

Continue reading →

Stack traces in AIR Release Builds

If you’ve ever noticed your AIR app release build acting a bit odd, chances are you’ve caused a fatal error. You could try adding Global Error Handling support to your app to try and catch these uncaught errors, but unfortunately global error handling is pretty useless when trying to identify bugs in your AIR release build. Firsty, it will only catch errors from components on the stage which leaves everything else within your app free to fail silently, (mediators, commands, utility classes etc). Secondly, even if you do catch an error from the stage you’ll only be presented with a nondescript one liner with no access to the stack trace.

Continue reading →

Repeating backgrounds in Flex3

Here’s a great way of repeating backgrounds in your Flex containers using Degrafa:

http://bjw.co.nz/developer/flex/83-background-image-repeat-in-flex-3

(If you’re on a mac you’ll probably have issues extracting the Degrafa swc, if you do head here for a solution: http://mattguest.com/archive-utility-annoyance)

AIR SQLite Optimisation

I’ve been working with SQLite quite a bit on my current AIR project and came across this interesting article about how to get the best performance from your AIR app’s SQLite database:

http://www.zedia.net/2009/air-sqlite-optimization-tricks/

Debug AIR applications with Charles Proxy

Here’s a little trick to allow Charles Proxy to debug your Adobe AIR AMF-based applications whilst developing on your localhost.

Continue reading →