I have checked FlexVersion, but it's really dedicated to Flex versions. Here, 4.1.2 refers to Android version (Jelly Bean IIRC) but could be any OS.
Sorry for the confusion. I think I will create a new class OSVersion , and use it in the MediaQueryParser If that works, it will open up new possibilities in media css ( such as NumberUnit) Maurice -----Message d'origine----- De : Justin Mclean [mailto:jus...@classsoftware.com] Envoyé : samedi 15 mars 2014 23:13 À : dev@flex.apache.org Objet : Re: Building new skins for Android 4.x and iOS7 Hi, > Currently, MQP supports min- and max- for number properties only. > So I had to turn version strings to numbers to allow comparison The > version number for X.Y.Z is X + Y/100 + Z/10000. There already a set of method with does this for the Flex SDK. May be possible to reuse? check FlexVersion.as in framework. Justin