URGENT! Cache-problem!

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, 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!!)

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:

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 :slight_smile: