User Guide
834 Chapter 2: ActionScript Language Reference
System.capabilities.os
Availability
Flash Player 6.
Usage
System.capabilities.os:String
Description
Read-only property; a string that indicates the current operating system. The os property can
return the following strings:
"Windows XP", "Windows 2000", "Windows NT", "Windows 98/ME",
"Windows 95", "Windows CE" (available only in Flash Player SDK, not in the desktop version),
"Linux", and "MacOS". The server string is OS.
Example
The following example traces the value of this read-only property:
trace(System.capabilities.os);