Example
The following example sets the
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.
Command
Parameters
None.
"GetVolumeLevel"
Example
The following example assigns the current volume level to the
volume = fscommand2("GetVolumeLevel");
trace (volume);
See also
GetVolumeLevel
150
Flash Lite Specific Language Elements
variable to the total amount of heap memory:
status
Value returned
-1: Not supported.
Other numeric values: The current volume level, ranging
from 0 to the value returned by
fscommand2("GetMaxVolumeLevel")
// output: 50
.
variable:
volume
Need help?
Do you have a question about the FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE and is the answer not in the manual?