Table of Contents

capabilities.os Property Flash 6

indicates the operating system on which the Player is running read/write
System.capabilities.os

Description

The string os property indicates the name of the operating system on which the Player is running. It provides more granular information than the getVersion( ) function, which does not distinguish between OS varieties such as "Windows 2000" and "Windows 98". The current values for os on Windows are:

Windows XP
Windows 2000
Windows NT
Windows 98/ME
Windows 95
Windows CE

On Macintosh, os returns "MacOS x.y.z", where x is the major release, y is the minor release, and z is the dot release. For example:

MacOS 9.2.1
MacOS 10.1.4

The corresponding server string for os is OS, with the preceding values listed for Windows or Macintosh or determined by individual manufacturers. See capabilities.serverString for details.

Bugs

Macromedia's documentation for Flash MX incorrectly claims that os defaults to an empty string. It defaults to the value appropriate for the OS under which the Player is running.

See Also

capabilities.version, capabilities.manufacturer


Table of Contents