 <p>use the <a href="http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/system/Capabilities.html" rel="nofollow">Capabilities</a> class. You can get the OS, also there are many other details you can get.</p>