EasyManua.ls Logo

MACROMEDIA FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE - Page 150

MACROMEDIA FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE
162 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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").

Table of Contents

Related product manuals