User Guide

fscommand2 Commands 231
GetMaxVolumeLevel fscommand2 Command
GetMaxVolumeLevel
Returns the maximum volume level of the device as a numeric value.
Availability: ActionScript 1.0; Flash Lite 1.1
Example
The following example sets the maxvolume variable to the maximum volume level of the
device:
maxvolume = fscommand2("GetMaxVolumeLevel");
trace (maxvolume); // output: 80
GetNetworkConnectionName fscommand2
Command
GetNetworkConnectionName
Returns the name of the active or default network connection. For mobile devices, this
connection is also known as an access point.
Availability: ActionScript 1.0; Flash Lite 2.0
Example
The following example returns the name of the active or default network connection in the
argument
myConnectionName:
status = FSCommand2("GetNetworkConnectionName", "myConnectionName");
Command Parameters Value Returned
GetMaxVolumeLevel None -1: Not supported. Other values: The
maximum volume level.
Command Parameters Value Returned
GetNetworkConnectionName None -1: Not supported 0: Success: returns the
active network connection name
1:
Success: returns the default network
connection name
2: Unable to retrieve
the connection name