Just a quick tip for those looking to somehow display the AIR application version from the descriptor file. I’ve found it very helpful in troubleshooting is users can say EXACTLY what version of the app they are running.

1 2 3 4 5 6 | private function getAppVersion():String { var appXml:XML = NativeApplication.nativeApplication.applicationDescriptor; var ns:Namespace = appXml.namespace(); var appVersion:String = appXml.ns::version[0]; return appVersion; } |
Pingback: In Flagrante Delicto! ยป Quick Tip: Display Application Version in … - edvdbox
Awesome. Thanks for the great tip.
Thank you! Very helpful!
Exactly what I was looking for. Thanks!
Pingback: Raymond Camden's ColdFusion Blog: Determining the version of an …
Looks like in AIR >= 2.5 the version property is defined as ‘versionNumber’, not the older ‘version’.
This is correct.