View Full Version : Does anyone know how to stop a flash applet caching an xml file?

02-27-2005, 12:52 PM
Hi, i have a flash news ticker which loads its data from an xml file. The xml file is updated extremely frequenty via a php script, and the html page which loads the swf file is set to refresh automatically. How can i stop it caching the xml file so it shows the most recent data without having to restart the browser? This is extremely annyoying problem, as you would expect a news ticker when refreshed to show the latest news.
I dont have the fla file, but i can use Flash Decompiler to decompile it and then edit and recompile it with FLash MX 2004. When i recompile it it ends up half the size(in bytes), and i dont know why + plus it doesent show any scrolling text.

I found the following code
but dont know how to implement it properly.

Here is my small flash applet:


The page that updates the xml and then redirects to the page that loads it:


I would really appreciate it if someone showed me step by step how to solve this small problem, or could provide any help.