Fl.publishcachememorysizemax, Fl.publishdocument() – Adobe Extending Flash Professional CS5 User Manual
Page 269
247
EXTENDING FLASH PROFESSIONAL
flash object (fl)
Last updated 5/2/2011
Usage
fl.publishCacheMemoryEntrySizeLimit
Description
Property: an integer that sets the maximum size, in kilobytes, of entries that can be added to the publish cache in
memory. Anything at or below this size will be kept in memory; anything larger will be written to disk.
Users with a lot of memory might want to raise this value to increase performance, while a user with very little memory
might want to make it lower to keep the publish cache from consuming too much memory.
Example
The following code sets the maximum publish cache entry size that can be stored in memory to 100 kilobytes:
fl.publishCacheMemoryEntrySizeLimit = 100
See also
fl.publishCacheMemorySizeMax
Availability
Flash CS5.5 Professional.
Usage
fl.publishCacheMemorySizeMax
Description
Property: an integer that sets the maximum size, in megabytes, of the publish cache in memory.
Example
The following code sets the maximum publish cache size in memory to 1 megabyte:
fl.publishCacheMemorySizeMax = 1
See also
fl.publishCacheMemoryEntrySizeLimit
fl.publishDocument()
Availability
Flash CS5 Professional.
Usage
fl.publishDocument( flaURI [, publishProfile] )