Flash Lite 2.x and 3.0 ActionScript Language Reference

GetDeviceID fscommand2 Command

GetDeviceID

Sets a parameter that represents the unique identifier of the device (for example, the serial number).

Command

Parameters

Value Returned

GetDeviceID

id A string to receive the unique identifier of the device. It can be either the name of a variable or a string value that contains the name of a variable.

-1: Not supported.
0: Supported.

Example

The following example assigns the unique identifier to the deviceID variable:

status = fscommand2("GetDeviceID", "deviceID");