Another textfield refresh

Yeah… it’s true… lol… Sorry about my english :confused:

I’m working on an icecast player. The stream is working very well but I’m having problems with the “current playing” info: a textfield loading a variable from a PHP script.

The script load the info directly from the stream (using the server status), and to have this info in realtime not is so easy :diss: (I think). So, how to set a time interval to refresh my textfield?

My AS:

 
myData = new LoadVars()
myData.load("pnf.php")
myData.onLoad = function(succes){
 if(succes){
  varmus.htmlText = "<b>"+this.varmus+"</b>"
 } else trace("Error loading data") 
}

Thanks a lot for the help :wink:

[]'s
Eduardo