Constantly updating text field

I have a couple of text fields in my Flash movie that are constantly updated with text from an xml document. The xml document is updated through an interface on a seperate swf. It’s based on a flash guestbook I found and have hacked apart, and everything works fine in theory… but I’m having second thoughts about my methods and would really appreciate some advice! My main worry is that over the course of a day it loaded in the text 170,000 times: 30 times a second which is a little excessive and is playing havoc with my web stats. I’ve cut this down to once every 10 seconds but I’m still thinking I should use a better method, would it be possible to test for changes before I load in new text, or am I going about this entirely the wrong way?

My code that loads the XML is below, thanks in advance for any advice…

var currPage = 0;
var showAmount = 1; // set this to the amount of entries you want to view at a time

// **** Load XML ****************************
myXML = new XML();
myXML.ignoreWhite = true;
receiverXML = new XML();

myXML.onLoad = function(success){
myXML.contentType = “text/xml”;
if (success){
this.showXML();
}
else{
trace(“Error loading XML file”);
}
}
myIdentifier=Math.round(Math.random()*10000);
myXML.load(“guestbook.xml?uniq=”+myIdentifier);

receiverXML.onLoad = function(){
this.contentType = “text/xml”;
_root.currPage = 0;
this.showXML();
}

XML.prototype.showXML = function(){
myGuestbook.scroll = 1;
myGuestbook.htmlText = “”;
var numItems = this.firstChild.childNodes.length;
var firstItem = numItems - (currPage*showAmount);
if (currPage == 0) previous._visible = false;
var lastItem = firstItem - showAmount ;
if (lastItem<=0) {
lastItem = 0;
next._visible = false;
}

for (i=(firstItem-1); i&gt;= lastItem; i--){
	myGuestbook.htmlText += "&lt;B&gt;" + this.firstChild.childNodes*.attributes.myName + "&lt;/B&gt;

";
myGuestbook.htmlText += this.firstChild.childNodes*.firstChild.firstChild.nodeValue + "

";
}
}