So i need to make an application witch is calling some data from XMl file. The XML data is going to be dynamic so i need to make an auto refresh in my swf. I’ve tried this
var interval = setInterval(my_function, 10000);
because i have
my_xml = new XML();
my_xml.load("direktno.xml");
my_xml.onLoad = my_function;
my_xml.ignoreWhite = true;
function my_function()
{ my function }
But this only refreshes my_function
without reloading the XML file. Any ideas>
Thank you
If you change you code into this, it reloads the XML file every 10s.
Hope it helps.