Lingo Dictionary > A-C > cacheSize() |
![]() ![]() ![]() |
cacheSize()
Syntax
cacheSize
Size
cacheSize()
Description
Function and command; sets Director's cache size. The value is in kilobytes.
The cacheSize
function is valid only for movies running in Director or as projectors. This function is not valid for Shockwave movies because they use the network settings of the browser in which they run.
Example
This handler checks whether the browser's cache setting is less than 1 MB. If it is, the handler displays an alert and sets the cache size to 1 MB:
on checkCache if cacheSize()<1000 then alert "increasing cache to 1MB" cacheSize 1000 end if end
See also
![]() ![]() ![]() |