version – DanDev.com http://www.dandev.com Tidbits about software development Sat, 26 Oct 2013 00:23:41 +0000 en-US hourly 1 Displaying the version number in Adobe AIR http://www.dandev.com/2011/10/displaying-the-version-number-in-adobe-air/ http://www.dandev.com/2011/10/displaying-the-version-number-in-adobe-air/#respond Wed, 12 Oct 2011 04:00:55 +0000 http://www.dandev.com/?p=220 In the Adobe AIR application descriptor file there are many options you can set. One of which is the tag(or in Flex SDK v4.1 and below), which lets you differentiate […]

The post Displaying the version number in Adobe AIR appeared first on DanDev.com.

]]>
In the Adobe AIR application descriptor file there are many options you can set. One of which is the tag(or in Flex SDK v4.1 and below), which lets you differentiate your release as well as utilize the Adobe AIR updater library.

It can be useful to display your version number inside of your app to inform the user as well as help with bug reports among other reasons. In order to prevent you from having to update the version number in multiple places you can use AS3 to grab it from the application descriptor and update your text for your app on the fly, as it loads. Here is an example of how to do that:


		

Flex Builder Project

The post Displaying the version number in Adobe AIR appeared first on DanDev.com.

]]> http://www.dandev.com/2011/10/displaying-the-version-number-in-adobe-air/feed/ 0