EasyManua.ls Logo

MACROMEDIA FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE - Gettotalplayermemory Fscommand2 Command; Getvolumelevel Fscommand2 Command

MACROMEDIA FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE
780 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...
238 ActionScript language elements
GetTotalPlayerMemory fscommand2 Command
GetTotalPlayerMemory
Returns the total amount of heap memory, in kilobytes, allocated to Flash Lite.
Availability: ActionScript 1.0; Flash Lite 1.1
Example
The following example sets the
status variable to the total amount of heap memory:
status = fscommand2("GetTotalPlayerMemory");
GetVolumeLevel fscommand2 Command
GetVolumeLevel
Returns the current volume level of the device as a numeric value.
Availability: ActionScript 1.0; Flash Lite 1.1
Example
The following example assigns the current volume level to the volume variable:
volume = fscommand2("GetVolumeLevel");
trace (volume); // output: 50
Command Parameters Value Returned
GetTotalPlayerMemory None -1: Not supported. 0 or positive value: Total
kilobytes of heap memory.
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