# URGENT! Cache-problem!

**URL:** https://forum.kirupa.com/t/urgent-cache-problem/118815
**Category:** Uncategorized
**Created:** [August 9, 2004, 11:52am UTC](https://forum.kirupa.com/t/urgent-cache-problem/118815 "2004-08-09T11:52:09Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![superduper](https://avatars.discourse-cdn.com/v4/letter/s/dec6dc/32.png) [@superduper](https://forum.kirupa.com/u/superduper)
#### Post date: [August 9, 2004, 11:52am UTC](https://forum.kirupa.com/t/urgent-cache-problem/118815/1 "2004-08-09T11:52:09Z")

</div>

I’m making a website using flash and php, but I’m having problems preventing cache in IE. It wount reload the text in my swf (the text is loaded from a mySql-server). I tried the code posted under [http://www.kirupa.com/developer/act…ricks/cache.htm](http://www.kirupa.com/developer/actionscript/tricks/cache.htm), but I wasn’t really sure where to put it… (guess I sure am rookie!) :rambo:

It seemed to work when I made a dummy-swf to load my mainmovie, but the text still didn’t reload. Can anyone help me?

ps: kinda urgent!

:hr:  
(sorry for the double posting, but this is urgent!!)

---

<div class="post-metadata">

### Author: ![Sunbuster](https://avatars.discourse-cdn.com/v4/letter/s/e495f1/32.png) [@Sunbuster](https://forum.kirupa.com/u/Sunbuster)
#### Post date: [August 9, 2004, 12:18pm UTC](https://forum.kirupa.com/t/urgent-cache-problem/118815/2 "2004-08-09T12:18:38Z")

</div>

that piece of code is used to load swf movies, so if you want to load variables from a server, you’ll want to replace the loadMovie() command with whatever command you use for loading your variables. For instance, the following code will request the file foo.php from the server each time you play that part of the movie:

```auto
thisXML = new XML();
unique = Math.round(Math.random()*10000);
thisXML.load("http://www.example.com/foo.php?uniq="+unique);

```

I’m pretty sure the same principles apply when using getURL to load variables. I haven’t tested it though, as I prefer to use XML objects for my variableloading

hope that helped 🙂
