Hi all,

I am currently working on an AIR product. I am facing the cache issue on
images.

We are loading around hundreds of images as thumbnails and i am using the
below mentioned code :

            var myLoader:Loader = new Loader();
            myLoader.name = "loaderObj";
            var myRequest:URLRequest = new URLRequest();
            myRequest.cacheResponse = true;
            myRequest.useCache = true;
            myRequest.url = "http://xyz.com/abc.jpg"; //example image URL
            myLoader.load(myRequest);

After loading once, if again I called the same bunch of images it is taking
only from the server and not caching it in local system.

Also read in the Adobe Help Resource Center that cacheResponse is only for
runtime, and its perfect usage for me.

Please let me know if anything to use or check in the code.

Regards
Siva Shanker

Reply via email to