User Guide

Table Of Contents
150 Flash Lite Specific Language Elements
Example
The following example sets the status variable to the total amount of heap memory:
status = fscommand2("GetTotalPlayerMemory");
See also
GetFreePlayerMemory
GetVolumeLevel
Availability
Flash Lite 1.1.
Description
Returns the current volume level of the device as a numeric value.
Example
The following example assigns the current volume level to the volume variable:
volume = fscommand2("GetVolumeLevel");
trace (volume); // output: 50
See also
GetVolumeLevel
Command Parameters Value returned
"GetVolumeLevel"
None. -1: Not supported.
Other numeric values: The current volume level, ranging
from 0 to the value returned by
fscommand2("GetMaxVolumeLevel").