MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 238

Extending flash
Table of Contents

Advertisement

fl.getAppMemoryInfo()
Availability
Flash 8 (Windows only).
Usage
fl.getAppMemoryInfo( memType )
Parameters
An integer that specifies the memory utilization area to be queried. For a list of
memType
acceptable values, see the following description.
Returns
An integer that represents the number of bytes being used in a specified area of Flash.exe
memory.
Description
Method (Windows only); returns an integer that represents the number of bytes being used in
a specified area of Flash.exe memory. Use the following table to determine which value you
want to pass as
memType
memType
Resource data
0
PAGEFAULTCOUNT
1
PEAKWORKINGSETSIZE
2
WORKINGSETSIZE
3
QUOTAPEAKPAGEDPOOLUSAGE
4
QUOTAPAGEDPOOLUSAGE
5
QUOTAPEAKNONPAGEDPOOLUSAGE
6
QUOTANONPAGEDPOOLUSAGE
7
PAGEFILEUSAGE
8
PEAKPAGEFILEUSAGE
Example
The following example displays the current working memory consumption.
var memsize = fl.getAppMemoryInfo(2);
fl.trace("Flash current memory consumption is " + memsize + " bytes or " +
memsize/1024 + " KB");
238
Objects
.

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents