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; } |

This is the weblog of Joseph Labrecque: Senior Multimedia Application Developer for the University of Denver and Owner of Fractured Vision Media, LLC. Joseph is an Adobe Higher Education Leader.








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!