this.dText = canvas.getLabelName(639); this.demoTime = this.roomobj.demoTime; this.fadeText(null); 0) { var min = Math.floor(this.demoTime/60); var restSeconds = this.demoTime - (min * 60); if (restSeconds < 10) { restSeconds = "0"+restSeconds; } var tString = this.dText + min + "min " + restSeconds + "sec"; this._text._text.setAttribute("text",tString); this.demoTime--; lz.Timer.addTimer( new LzDelegate( this, "fadeText" ), 1000 ); } else { if ($debug) Debug.write("DEMO IS OVER "); canvas.sendViaLocalConnection(canvas.vid_lc_name, "immediateExitRoom", [true,null]); } ]]>