flex - How can I get the version of the AIR runtime in my AIR application? -


in flex web application, can print version of flash player being used using:

var version:string = capabilities.version 

according the docs, should return flash player or air runtime version, not in testing. keep getting flash player version when running in air.

is there way air version? running on air 3.2

(i want display air runtime version in box of application troubleshooting purpose)

will this work you?

to quote:

the nativeapplication object has runtimeversion property, version of runtime in application running (a string, such "1.0.5"). nativeapplication object has runtimepatchlevel property, patch level of runtime (a number, such 2960). following code uses these properties:

air.trace(air.nativeapplication.nativeapplication.runtimeversion); air.trace(air.nativeapplication.nativeapplication.runtimepatchlevel);


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -