}
private function streamInfoUpdated(e:Event) {
+ test.text = "hello";
for each(var i in this.streamInfo.getLastUpdated()) {
- trace(i + " has been updated to " + this.streamInfo.getStreamParameter(i));
+ test.text += i + " has been updated to " + this.streamInfo.getStreamParameter(i) + "\n";
}
}
public static const INFO_UPDATE = "info_update";
public function StreamInfo(section:String, refreshRate:int) {
- this.request = new URLRequest("file:///Z:/Overlay/StreamInfo.txt");
+ this.request = new URLRequest("StreamInfo.txt");
this.loader = new URLLoader();
this.section = section;
setInterval(this.parse, refreshRate);