Flash Lite 1.x ActionScript Language Reference |
|
|
|
| Flash Lite Specific Language Elements > fscommand2() > GetMaxVolumeLevel | |||
Flash Lite 1.1.
Returns the maximum volume level of the device as a numeric value.
|
Command |
Parameters |
Value returned |
|---|---|---|
|
|
None. |
-1: Not supported. Other values: The maximum volume level. |
The following example sets the maxvolume variable to the maximum volume level of the device:
maxvolume = fscommand2("GetMaxVolumeLevel");
trace (maxvolume); // output: 80
|
|
|
|