Adobe AIR Runtime Version Checker

December 11th, 2009 by Adrian

Version Checker

Have you ever wondered what version of the Adobe AIR Runtime you have installed on your computer? Well, if you have then you’ve probably found it difficult to find out. Luckily Jason Madsen has built a simple AIR App that will tell you. It does what it says on the tin. Very handy!

BTW, if you want to know what version of the Flash Player you have installed in your browser just visit www.playerversion.com to find out. Thanks Aral.

Posted in Adobe, AIR, Tool | 1 Comment »

Setting data types to int, uint and Number

April 3rd, 2008 by Adrian

Recently I have been having a play around with using different data types such as int and uint (rather than using Number all the time). To help me see which data types accept which values, I have put together a little chart that displays some example vaules and shows if they are valid or not (and if not, the Compiler Errors). Some of the results are pretty obvious, others not so.

Green = All fine.
Amber = A rounded value is stored and NO error is thrown.
Red = Compiler warning/error is thrown.

Data types chart

The Adobe LiveDocs have some more information on the subject.

There has also been some discussion in the past regarding the performance of of int and uint from Grant Skinner and Sho Kuwamoto, but I think Tink takes a balanced view of the subject and I will be following him (as much as I can).

Posted in ActionScript 3.0 | No Comments »