# Help regarding "CacheKiller"

**URL:** https://forum.kirupa.com/t/help-regarding-cachekiller/323249
**Category:** flash
**Created:** [June 22, 2011, 1:04pm UTC](https://forum.kirupa.com/t/help-regarding-cachekiller/323249 "2011-06-22T13:04:02Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![jatintalwar](https://avatars.discourse-cdn.com/v4/letter/j/f19dbf/32.png) [@jatintalwar](https://forum.kirupa.com/u/jatintalwar)
#### Post date: [June 22, 2011, 1:04pm UTC](https://forum.kirupa.com/t/help-regarding-cachekiller/323249/1 "2011-06-22T13:04:02Z")

</div>

Guys ,  
Help required in respect to this article [http://www.kirupa.com/developer/actionscript/tricks/cache.htm](http://www.kirupa.com/developer/actionscript/tricks/cache.htm)

Can anyone let me know where in the flash movie this code shud be pasted ? Frame 1 ?  
or in the movie that loads the picture gallery ? loadVariablesNum(((\_root.url + “\_gallery.”) + \_root.file\_option), 0); ??

Another code for CacheKiller I found is :

```auto
// generate a unique value
var cKiller = new Date().getTime();
// append it to the url of the file:
varReceiver.load("external.txt?cKiller=" + cKiller); // text file
some_mc.loadVariables("external.txt?cKiller=" + cKiller); // text file
some_mc.loadMovie("external.swf?cKiller=" + cKiller); // flash movie

```

This works only on a web server. If you test it locally without one, you’ll get an error.

Any help wudbe highly appreciated .
