PDA

View Full Version : Detecting Operating System


themortalgod
08-08-2008, 01:54 PM
Hey, does anyone know of a way to detect what operating system the client is running? Basicly, what I want to do is detect if they are on windows and do one thing, if they are on mac do another and if they are on linux do something else, I know I can do this via javascript but if possible i would like to be able to do it via as3
thx

Canazza
08-08-2008, 02:27 PM
You can do more than just the OS, check out the capabilities object
http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/system/Capabilities.html

themortalgod
08-08-2008, 03:53 PM
perfect! thx