Guys ,
Help required in respect to this article 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 :
// 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 .