GetMaxVolumeLevel fscommand2 Command
GetMaxVolumeLevel
Returns the maximum volume level of the device as a numeric value.
Command
GetMaxVolumeLevel
Availability: ActionScript 1.0; Flash Lite 1.1
Example
The following example sets 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.
Command
GetNetworkConnectionName
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");
Parameters
Value Returned
None
-1: Not supported. Other values: The
maximum volume level.
variable to the maximum volume level of the
maxvolume
Parameters
None
:
Value Returned
: Not supported
: Success: returns the
-1
0
active network connection name
Success: returns the default network
connection name
: Unable to retrieve
2
the connection name
fscommand2 Commands
:
1
231