I guess the key passed to getCacheEntry is the source for the image; a
URL string in your case i imagine.
So if getCacheEntry returns null, image is not in the cache
On 25/09/2013 13:14, Tintin wrote:
Hello
My application displays some images which are held in a ContentCache. While
the initial images are downloading a dialog box displays to inform the user
that the images are downloading. As the user interacts with the application
different images are displayed. How do I test if an image is already in the
ContentCache?
I want to diaplay the dialog if an image is not in the ContentCache, because
they take a while to download, but not if the image is already in the cache.
I seem to be only able to access getCacheEntry, but I need to know the key.
If I inspect the ContentCache object I seem to want to get at the cachedData
property but this is not accessible.
Any advice would be very helpful.
Thanks
--
View this message in context:
http://apache-flex-users.2333346.n4.nabble.com/What-s-in-the-ContentCache-tp2836.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.
--
Lee Burrows
ActionScripter