GetFreePlayerMemory

Returns the amount of heap memory, in kilobytes, currently available to Flash Lite.

Command

Parameters

Value returned

"GetFreePlayerMemory"

None.

-1: Not supported.

0 or positive value: Available kilobytes of heap memory.

Availability

Flash Lite 1.1.

Example

The following example sets status equal to the amount of free memory:

status = fscommand2("GetFreePlayerMemory");

See also

GetTotalPlayerMemory