# Caching loaded images?

**URL:** <https://forum.kirupa.com/t/caching-loaded-images/200927>\
**Category:** flash\
**Created:** [September 16, 2006, 6:50pm UTC](https://forum.kirupa.com/t/caching-loaded-images/200927 "2006-09-16T18:50:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![REEF](https://avatars.discourse-cdn.com/v4/letter/r/ce73a5/32.png) [@REEF](https://forum.kirupa.com/u/REEF)\
**Post date:** [September 16, 2006, 6:50pm UTC](https://forum.kirupa.com/t/caching-loaded-images/200927/1 "2006-09-16T18:50:08Z")

</div>

Is there any way to keep a loaded image cached somewhere in the users computer/cache/cookies so that when they reload the flash movie, the images dont load again? Instead it just appears as if it’s been loaded before?

Right now, Im using:

```auto
var mcLoader1:MovieClipLoader = new MovieClipLoader();
mcLoader1.addListener(this);.
mcLoader1.loadClip("http://freish.freehostia.com/pics/" + n + ".jpg", _root["container" + n]);
onLoadInit = function (mc1:MovieClip) {
	mc1._width = 100;
	mc1._height = 100;
};

```

The third line in this code is in a for loop. Everytime I reload the swf the pictures come in one by one (in random orders).

Thanks for any help.
