Download Flash Lite 2.x and 3.x ActionScript Language Reference

Transcript
FLASH LITE 2.X AND 3.X ACTIONSCRIPT LANGUAGE REFERENCE
ActionScript classes
See also
_y (Button._y property), _x (Button._x property), _xscale (Button._xscale property)
capabilities (System.capabilities)
Object
|
+-System.capabilities
public class capabilities
extends Object
The Capabilities class determines the abilities of the system and player that host a SWF file, which lets you tailor
content for different formats. For example, the screen of a mobile device is different from a computer 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.
You can send capabilities information using a GET or POST HTTP method.
The following example shows a string for a mobile device:
• that indicates a normal screen orientation
• that is running an undetermined language
• that is running the Symbian7.0sSeries60V2 operating system
• that is configured so the user can't access hard disk, camera, or microphone
• that has the Flash Lite player as the official release version
• for which the Flash Lite player does not support the development nor playback of screen broadcast applications to
be run through Flash Media Server
• that does not support printing on the device
• that the Flash Lite player is running on a mobile device that supports embedded video.
undefinedScreenOrientation=normal
language=xu
OS=Symbian7.0sSeries60V2
localFileReadDisable=true
avHardwareDisable=true
isDebugger=false
hasScreenBroadcast=false
hasScreenPlayback=false
hasPrinting=false
hasEmbeddedVideo=true
Most properties of the System.capabilities object are read-only.
Availability
Flash Lite 2.0
Last updated 12/20/2010
241