capabilities (System.capabilities) class
23
capabilities (System.capabilities) class
The System.capabilities class determines the abilities of the system and player hosting a SWF
file, which lets you tailor content for different formats. For example, the screen of a cell phone
(black and white, 100 square pixels) is different than the 1000-square-pixel color PC screen.
To provide appropriate content to as many users as possible, you can use the
System.capabilities object to determine the type of device a user has. You can then either
specify to the server to send different SWF files based on the device capabilities or tell the
SWF file to alter its presentation based on the capabilities of the device.
Property summary
The following table lists the properties that are not supported by the System.capabilites class
when using ActionScript for Flash Lite 2.0.
Property
Description
Support
manufacturer
A string that indicates the manufacturer of Flash
Player, in the format "Macromedia OSName"
(OSName could be "Windows", "Macintosh",
"Linux", or "Other OS Name").
Not supported
pixelAspectRatio
Indicates the pixel aspect ratio of the screen.
Not supported
playerType
Indicates the type of player: stand-alone, external,
plug-in, or ActiveX.
Not supported
screenColor
Indicates whether the screen is color, grayscale, or
black and white.
Not supported
screenDPI
Indicates the screen resolution, in pixels (such as
dpi).
Not supported
serverString
A URL-encoded string that specifies values for
each
System.capabilities
property.
Not supported
Содержание FLASH 8-INTRODUCTION TO FLASH LITE 2.X...
Страница 1: ...Introduction to Flash Lite 2 x ActionScript...
Страница 4: ...4...
Страница 34: ...34 Unsupported and Partially Supported Classes...