|
System.capabilities (object)
You can use the System.capabilites object to determine the abilities of the system and player hosting a Flash movie. This allows you to taylor 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 Capabilities object to determine the type of device a user has. You can then either specify to the server to send different SWFs based on the device capabilites, or tell the Flash movie 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 is an example of a server string for a device that does not have MP3 support and has a 400 x 200 pixel, 8 x 4 centimeter screen:
"A=t&MP3=f&AE=gsm&VE=h11&ACC=f&V=WIN%206%2C0%2C0%2C129&M=Macromedia%WINDOWS&R=400x200&DP=72&COL=color&AR=1.0&OS=WINDOWS%2000&L=en-US"
The Capabilities object is available in the Flash Player 6.
You must access all properties of the Capabilities object through the System.capabilities object.
Property summary for the Capabilities object
|