Flash Lite 2.x and 3.0 ActionScript Language Reference

GetTotalPlayerMemory fscommand2 Command

GetTotalPlayerMemory

Returns the total amount of heap memory, in kilobytes, allocated to Flash Lite.

Command

Parameters

Value Returned

GetTotalPlayerMemory

None

-1: Not supported.
0 or positive value: Total kilobytes of heap memory.

Example

The following example sets the status variable to the total amount of heap memory:

status = fscommand2("GetTotalPlayerMemory");