var c = new LoadVars(); setInterval(LoadMessage, 3000); function showValues() { tex = ""; tex = this.chat_from; } function LoadMessage() { c.load("http://testflash.h.com.ua/from.php"); c.onLoad = showValues; }