
capabilities.pixelAspectRatio Property
This is the Title of the Book, eMatter Edition
Copyright © 2007 O’Reilly & Associates, Inc. All rights reserved.
486
|
ActionScript Language Reference
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
capabilities.pixelAspectRatio Property
the width-to-height ratio of a pixel on the screen
Flash 6
read/write
System.capabilities.pixelAspectRatio
Description
The floating-point pixelAspectRatio property indicates the proportions of a single pixel on
the screen. It is the ratio