Stage.showMenu = false Stage.align = "TL" Stage.scaleMode = "noScale" globalStyleFormat.arrow=0; globalStyleFormat.face=13947080; globalStyleFormat.darkshadow=4210752; globalStyleFormat.highlight=16777215; globalStyleFormat.highlight3D=13947080; globalStyleFormat.shadow=8421504; globalStyleFormat.scrollTrack=13421772; globalStyleFormat.applyChanges(); this.onResize = function () { if(!t){ createTextField("t",0,0,0,Stage.width,Stage.height) t.border = true; t.borderColor = 0x808080; t.background = true; t.backgroundColor = 0x000000; var fmt = new TextFormat() fmt.font = "Courier New" //fmt.font = "Terminal"//fmt.font = "Tahoma" fmt.color = 0xCCCCCC fmt.size = 12 fmt.leftMargin = 2 fmt.rightMargin = 2 t.setNewTextFormat(fmt) t.text = "FDebug by samstudio.\n" attachMovie("FScrollBarSymbol","ts",1) ts._x = Stage.width-16 ts.setSize(Stage.height) ts.setScrollTarget(t) }else{ t._width = Stage.width t._height = Stage.height ts._x = Stage.width-16 ts.setSize(Stage.height) } } Stage.addListener(this); this.onResize() lc = new LocalConnection(); lc.allowDomain = function() { return true; }; lc.write = function(arguments) { for (var i = 0; i