Using SetInterval to reload an xml file

Hi, i have an xml file that is regenerated every 10 mins.

I am trying to use the setinterval to reload my xml file in flash but cant get it to work??

Is what im trying do do possible? or is there a better way of doing it?

Thanks

xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("stocks.xml");
var origYposition:Number = 200;
_global.indicename = new Array();
_global.currentprice = new Array();
_global.valuechange = new Array();
_global.newLocation = new Array();
_global.cell = new Array();
var nInterval:Number = setInterval(loadXML, 60000);
function loadXML(loaded) {
 if (loaded) {
  for (i=0; i<32; i++) {
   _global.indicename.push(this.firstChild.childNodes*.childNodes[0].firstChild.nodeValue);
   _global.currentprice.push(this.firstChild.childNodes*.childNodes[1].firstChild.nodeValue);
   _global.valuechange.push(this.firstChild.childNodes*.childNodes[2].firstChild.nodeValue);
  }
  for (i=0; i<_global.indicename.length; i++) {
   _global.cell = "cell"+i;
   trace("Symbol = "+_global.indicename*+" Attached to - "+cell);
   trace("Current Price = "+_global.currentprice*);
   trace("Value Change = "+_global.valuechange*);
  }
 }
}