Determining platform capabilities

Each combination of target device and Flash Lite content type defines a set of available Flash Lite features, such as navigation type, supported device sound formats, or input text support. When the Information debug option is enabled in the emulator settings pane, the emulator generates a list of platform capabilities for the currently selected device and content type. For more information on setting debug options, see Setting emulator debug options.

The following table describes the Flash Lite platform capabilities as they are reported in the Output panel when you test your application in the emulator:

Capability name

Description and possible values

DeviceSoundKeyOnly

Indicates if the device plays device sounds only in response to the user pressing a key on the device (Yes), or independently of any user action (No). For more information, see Triggering device sounds in Flash Lite 1.0.

DeviceSoundsOrdered

A comma-delimited list of device sound formats that the platform supports. The order of the sound formats indicates what sound Flash Lite plays if a SWF file contains a sound bundle file with multiple sound formats. For more information about sound bundles, see Using compound sound.

FSCommand

Indicates how frequently Flash Lite processes fscommand() or fscommand2() function calls. Valid values are as follows:

OnePerKey: Only one fscommand() call is allowed for each keypress.

OnePerKeyPerFrame: Only one fscommand() call is allowed per event handler or per frame.

All: No restriction on how frequently fscommand() can be called.

None: The fscommand() function is not supported.

InputText

Indicates if platform supports input text (Yes) or not (No). For more information about input text, see Using input text fields).

LoadMovie

Indicates how frequently Flash Lite processes loadMovie() function calls. Valid values are as follows:

OnePerKey: Only one loadMovie() call is allowed for each keypress.

OnePerKeyPerFrame: Only one loadMovie() call is allowed per event handler or per frame.

All: No restriction on how frequently loadMovie() can be called.

None: The loadMovie() function is not supported.

LoadVars

Indicates how frequently Flash Lite processes loadVariables() function calls. Valid values are as follows:

OnePerKey: Only one loadVariables() call is allowed for each keypress.

OnePerKeyPerFrame: Only one loadVariables() call is allowed per event handler or per frame.

All: No restriction on how frequently loadVariables() can be called.

None: The loadVariables() function is not supported.

Loop

Indicates if SWF content loops (return to the first frame in the timeline) when it reaches the end of its timeline (Yes) or stops on the last frame (No).

MultipleDeviceSound

Indicates if the device supports mixing of multiple device sounds (Yes) or not (No).

NativeSounds

This is a non-ordered list of sound formats the Flash Lite

player can play natively (as opposed to device sounds which are passed from the Flash Lite player to the device for playback). Possible values: NativeSound_PCM, NativeSound_ADPCM and NativeSound_MP3.

NavigationType

Indicates the navigation mode supported by the platform: two-way, four-way, or four-way with wrap-around. For more information about navigation modes, see Modes of tab navigation. Valid values are as follows:

2Way: Up and Down Arrow keys supported only.

4Way: All four arrow keys (Up, Down, Left, and Right) are supported for navigation.

4WayWrapAround: Same as 4Way except that focus wraps around to the top of the display.

SMS

Indicates if Flash Lite supports sending SMS messages (Yes) or not (No).

getUrl

Indicates how frequently Flash Lite processes getURL() function calls. Valid values are as follows:

OnePerKey: Only one getURL() call is allowed for each keypress.

OnePerKeyPerFrame: Only one getURL() call is allowed per event handler or per frame.

All: No restriction on how frequently getURL() can be called.

None: The getURL() function is not supported.

keySet

Indicates what key events are supported by Flash Lite on the device. For more information about handling key events, see Handling key events. Valid values are as follows:

All: All key events are handled:

Phone: Only events associated with the 0-9, #, *, Select, and four-way navigation keys are handled.

mouseType

Indicates what mouse events are supported by Flash Lite. Valid values are as follows:

None: No mouse events are supported.

Partial: The press, release, rollOver, and rollout events are supported; releaseOutside, dragOut, and dragOver events not supported.

Mouse: The Mouse Up/Mouse Down/Mouse Move messages are processed. One example is an NTT DoCoMo phone with the virtual cursor feature. This means mouse-move should trigger the rollOver/rollOut event.

soundEnabled

Indicates if sound is enabled on the device (Yes) or not (No).


Flash CS3