Some debugging memes
authorCameron Ball <c.ball1729@gmail.com>
Fri, 17 Apr 2015 08:57:23 +0000 (16:57 +0800)
committerCameron Ball <c.ball1729@gmail.com>
Fri, 17 Apr 2015 08:57:23 +0000 (16:57 +0800)
Overlay.as
StreamInfo.as

index e288330..d4d74a5 100644 (file)
@@ -22,8 +22,9 @@
                }
                
                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";
                        }
                }
 
index d27f3ca..a69f97b 100644 (file)
@@ -16,7 +16,7 @@
                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);