os (capabilities.os property)

public static os : String [read-only]

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.

Availability: ActionScript 1.0; Flash Player 6

Example

The following example traces the value of this read-only property:

trace(System.capabilities.os);