This page was last modified 01:03, 4 July 2008.
Getting memory and volume properties in Flash Lite
From Forum Nokia Wiki
Preface
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. There is a very good general article about memory managament in Flash Lite Here
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");
--Ruikku 00:41, 4 December 2007 (EET)
| Related Discussions | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Stand-alone Python app not launched correctly from other native app | bercobeute | Python | 2 | 2005-03-04 14:30 |
| I want to detect which application is installed . | chirag_cel | General Symbian C++ | 4 | 2006-11-27 10:53 |
| Software with Flash Lite 2 pages? | Chingo | Flash Lite on Nokia Devices | 0 | 2008-08-10 12:00 |
| E50 and custom Flash Lite screensaver | ladjack | Flash Lite on Nokia Devices | 3 | 2008-01-03 13:20 |
| Flash Lite Application Charset Problem | D.Luciani | Carbide.c++ and CodeWarrior Tools | 3 | 2007-03-07 14:30 |
