# Caching of swf fiels loaded into main movie

**URL:** https://forum.kirupa.com/t/caching-of-swf-fiels-loaded-into-main-movie/146137
**Category:** Uncategorized
**Created:** [April 28, 2005, 2:17pm UTC](https://forum.kirupa.com/t/caching-of-swf-fiels-loaded-into-main-movie/146137 "2005-04-28T14:17:09Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![citizen\_erazed](https://avatars.discourse-cdn.com/v4/letter/c/439d5e/32.png) [@citizen\_erazed](https://forum.kirupa.com/u/citizen_erazed)
#### Post date: [April 28, 2005, 2:17pm UTC](https://forum.kirupa.com/t/caching-of-swf-fiels-loaded-into-main-movie/146137/1 "2005-04-28T14:17:09Z")

</div>

In my main movie I am loading external swf files. The proplem is that these files are cached so when they load the updates aren’t shown. I’ve read some stuff about loading vars or xml with a random function to prevent it from caching, can that work with swf files? Maybe something like:

loadMovie (“news.swf?=”+random(1000),\_root.dropPage\_mc);

I’ve placed the meta tags in the main html to stop that from caching; which doesn’t really work. Could the same be applied in the html? Or maybe a php function when loading the main flash movie?

The files that are loaded are only a few kb so I’m not worried about the user having to load the files everytime.

Thanks
