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

Flash lite 2.x actionscript language reference
Hide thumbs Also See for FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE:
Table of Contents

Advertisement

GetTotalPlayerMemory fscommand2 Command

GetTotalPlayerMemory
Returns the total amount of heap memory, in kilobytes, allocated to Flash Lite.
Command
GetTotalPlayerMemory
Availability: ActionScript 1.0; Flash Lite 1.1
Example
The following example sets the
status = fscommand2("GetTotalPlayerMemory");

GetVolumeLevel fscommand2 Command

GetVolumeLevel
Returns the current volume level of the device as a numeric value.
Command
GetVolumeLevel
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
238
ActionScript language elements
Parameters
Value Returned
None
-1
kilobytes of heap memory.
variable to the total amount of heap memory:
status
Parameters
Value Returned
None
: Not supported. Other numeric values: The
-1
current volume level, ranging from
value returned by
fscommand2("GetMaxVolumeLevel").
: Not supported.
or positive value: Total
0
to the
0

Advertisement

Table of Contents
loading

Table of Contents