| storages | Pass the image storage names you want to put into the cache as an array (Array class object). Items listed earlier have higher priority. Since KiriKiri manages the cache using the exact string specified in the first argument of Layer.loadImages as the key, the image storage names specified here must be identical to those passed as the first argument to Layer.loadImages for the cache to be effective. |
| limitbytes | Specifies the cache capacity limit to be used by this method call, in bytes. If 0 is specified, the entire cache is used. If a positive number is specified, it attempts to use the cache up to that number of bytes. If a negative number is specified, the value added to the current cache limit ( System.graphicCacheLimit ) is used as the limit (however, since a negative number is added, it is actually a subtraction). If the resulting limit becomes 0 or negative, this method terminates without doing anything. For example, if -2*1024*1024 is specified, it is treated as if a value 2MB less than the current cache limit was specified. This is useful when you want to leave some free space in the cache. |
| timeout | Specifies the timeout (time limit) in milliseconds. If 0 is specified, there is no limit. This method will stop loading subsequent images and return once the time specified by this argument has elapsed. However, if a timeout occurs while a specific image is being loaded, it will not return until that image's loading is complete. |