Adobe Extending Flash Professional CS5 Manual de usuario Pagina 259

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 565
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 258
237
EXTENDING FLASH PROFESSIONAL
flash object (fl)
Last updated 5/2/2011
Parameters
memType An integer that specifies the memory utilization area to be queried. For a list of 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:
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");
fl.getDocumentDOM()
Availability
Flash MX 2004.
Usage
fl.getDocumentDOM()
Parameters
None.
Returns
A Document object, or null if no documents are open.
memType Resource data
0 PAGEFAULTCOUNT
1 PEAKWORKINGSETSIZE
2 WORKINGSETSIZE
3 QUOTAPEAKPAGEDPOOLUSAGE
4 QUOTAPAGEDPOOLUSAGE
5 QUOTAPEAKNONPAGEDPOOLUSAGE
6 QUOTANONPAGEDPOOLUSAGE
7 PAGEFILEUSAGE
8 PEAKPAGEFILEUSAGE
Vista de pagina 258
1 2 ... 254 255 256 257 258 259 260 261 262 263 264 ... 564 565

Comentarios a estos manuales

Sin comentarios