Please note that as of October 24, 2014, the Nokia Developer Wiki will no longer be accepting user contributions, including new entries, edits and comments, as we begin transitioning to our new home, in the Windows Phone Development Wiki. We plan to move over the majority of the existing entries. Thanks for all your past and future contributions.

Archived:Getting memory and volume properties in Flash Lite

From Wiki
Jump to: navigation, search

Archived.pngArchived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

We do not recommend Flash Lite development on current Nokia devices, and all Flash Lite articles on this wiki have been archived. Flash Lite has been removed from all Nokia Asha and recent Series 40 devices and has limited support on Symbian. Specific information for Nokia Belle is available in Flash Lite on Nokia Browser for Symbian. Specific information for OLD Series 40 and Symbian devices is available in the Flash Lite Developers Library.

Article Metadata
Created: Risalmin (03 Dec 2007)
Last edited: hamishwillee (14 May 2013)


To be able to perform any sort of memory management you need to know how much memory you have available, since the amount of memory allocated for Flash Lite applications varies a lot from one device to another. In Flash Lite ActionScript the way to do this is with the fscommand GetFreePlayerMemory.

This is only a short code example posting.

Code example

The following fscommand returns the amount of heap memory in kilobytes, or -1 if the fscommand is not supported on the device.

 FreeMem = fscommand2("GetFreePlayerMemory");
 FreeMem = fscommand2("GetFreePlayerMemory");
 FreeMem = fscommand2("GetFreePlayerMemory");

--Risalmin 00:41, 4 December 2007 (EET)

This page was last modified on 14 May 2013, at 06:19.
33 page views in the last 30 days.