03.05.2013 Views

FLASH® LITE™ 2.x - Adobe Help and Support

FLASH® LITE™ 2.x - Adobe Help and Support

FLASH® LITE™ 2.x - Adobe Help and Support

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

The Capabilities class determines the abilities of the system <strong>and</strong> player that host a SWF file,<br />

which lets you tailor content for different formats. For example, the screen of a mobile device<br />

is different from a computer screen. To provide appropriate content to as many users as<br />

possible, you can use the System.capabilities object to determine the type of device a user<br />

has. You can then either specify to the server to send different SWF files based on the device<br />

capabilities or tell the SWF file to alter its presentation based on the capabilities of the device.<br />

You can send capabilities information using a GET or POST HTTP method.<br />

The following example shows a string for a mobile device:<br />

■ that indicates a normal screen orientation<br />

■ that is running an undetermined language<br />

■ that is running the Symbian7.0sSeries60V2 operating system<br />

■ that is configured so the user can't access hard disk, camera or microphone<br />

■ that has the Flash Lite player as the official release version<br />

■ for which the Flash Lite player does not support the development nor playback of screen<br />

broadcast applications to be run through Flash Media Server<br />

■ that does not support printing on the device<br />

■ that the Flash Lite player is running on a mobile device that supports embedded video.<br />

undefinedScreenOrientation=normal language=xu OS=Symbian7.0sSeries60V2<br />

localFileReadDisable=true avHardwareDisable=true isDebugger=false<br />

hasScreenBroadcast=false hasScreenPlayback=false hasPrinting=false<br />

hasEmbeddedVideo=true<br />

Most properties of the System.capabilities object are read-only.<br />

Property summary<br />

Modifiers Property Description<br />

static audioMIMETypes:Array<br />

[read-only]<br />

static avHardwareDisable:Bo<br />

olean [read-only]<br />

278 ActionScript classes<br />

Returns an array of MIME types for audio codecs<br />

supported by a mobile device.<br />

A Boolean value that specifies whether access to<br />

the user's camera <strong>and</strong> microphone has been<br />

administratively prohibited (true) or allowed<br />

(false).

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!