How to Discover Your AIR Runtime Version

This morning, someone asked me how to figure out what version of the SDK and/or AIR runtime you’re using. Rather than just respond to the email, I figured I would blog it for everyone to see.

Here are two easy ways to see the AIR runtime version you’re using:

  1. Check the "AIR SDK Readme.txt" file in your SDK directory (the version is at the top).
  2. Trace out NativeApplication.nativeApplication.runtimeVersion.

Remember that you don’t want to check the runtime version to see if certain capabilities, features, or APIs exist — rather, you want to use an individual feature’s’ "isSupported" flag. But for debugging purposes, knowing your runtime version programmatically can sometimes be useful.