# Another textfield refresh

**URL:** <https://forum.kirupa.com/t/another-textfield-refresh/185287>\
**Category:** flash\
**Created:** [April 12, 2006, 7:08am UTC](https://forum.kirupa.com/t/another-textfield-refresh/185287 "2006-04-12T07:08:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![riot](https://avatars.discourse-cdn.com/v4/letter/r/6bbea6/32.png) [@riot](https://forum.kirupa.com/u/riot)\
**Post date:** [April 12, 2006, 7:08am UTC](https://forum.kirupa.com/t/another-textfield-refresh/185287/1 "2006-04-12T07:08:22Z")

</div>

Yeah… it’s true… lol… Sorry about my english 😕

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:

```auto
 
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 😉

[]'s  
Eduardo
