canvas.setAttribute('debug', true); flash.external.ExternalInterface.call("loadingComplete"); doDebugInit(); var cmenu = new LzContextMenu(); canvas.setDefaultContextMenu(cmenu); cmenu.hideBuiltInItems(); if($debug) Debug.write("main.lzx/oninit:",this); canvas.lc = new LocalConnection(); localConnectionSendQ = new Array(); if($debug) Debug.write("canvas.lc: ", canvas.lc); localConnectionQProcessorDelegate = new LzDelegate(parent, "processLocalQ"); lz.Timer.addTimer(localConnectionQProcessorDelegate, 0); canvas.lc.onStatus = function(obj:flash.events.StatusEvent) { if (obj.level == 'error') { if($debug) Debug.warn("LocalConnection:: error while sending ", obj); } else { var sm = localConnectionSendQ.shift(); if (sm) { realSendViaLocalConnection(sm.cName, sm.mName, sm.tArray); } else { lz.Timer.resetTimer(localConnectionQProcessorDelegate, 100); } } } getTimeZoneOffset(this); 0) { var sm = localConnectionSendQ.shift(); realSendViaLocalConnection(sm.cName, sm.mName, sm.tArray); } else { lz.Timer.resetTimer(localConnectionQProcessorDelegate, 100); } ]]> 10000 && size < 30001) { if ($debug) Debug.warn("Too big object being sent via localConnection::10K warn ", size); //,tArray } else if (size > 30000) { if ($debug) Debug.error("Too big object being sent via localConnection ", size); //,tArray return; } if ($debug) Debug.info("sendViaLocalConnection ", lc_name, methodName, size); //,tArray try{ if (tArray == null || tArray.length == 0) { canvas.lc.send(lc_name,methodName); } else if (tArray.length == 1) { canvas.lc.send(lc_name,methodName,tArray[0]); } else if (tArray.length == 2) { canvas.lc.send(lc_name,methodName,tArray[0],tArray[1]); } else if (tArray.length == 3) { canvas.lc.send(lc_name,methodName,tArray[0],tArray[1],tArray[2]); } else if (tArray.length == 4) { canvas.lc.send(lc_name,methodName,tArray[0],tArray[1],tArray[2],tArray[3]); } else if (tArray.length == 5) { canvas.lc.send(lc_name,methodName,tArray[0],tArray[1],tArray[2],tArray[3],tArray[4]); } else if (tArray.length == 6) { canvas.lc.send(lc_name,methodName,tArray[0],tArray[1],tArray[2],tArray[3],tArray[4],tArray[5]); } else if (tArray.length == 7) { canvas.lc.send(lc_name,methodName,tArray[0],tArray[1],tArray[2],tArray[3],tArray[4],tArray[5],tArray[6]); } else if (tArray.length == 8) { canvas.lc.send(lc_name,methodName,tArray[0],tArray[1],tArray[2],tArray[3],tArray[4],tArray[5],tArray[6],tArray[7]); } else if (tArray.length == 9) { canvas.lc.send(lc_name,methodName,tArray[0],tArray[1],tArray[2],tArray[3],tArray[4],tArray[5],tArray[6],tArray[7],tArray[8]); } else if (tArray.length == 10) { canvas.lc.send(lc_name,methodName,tArray[0],tArray[1],tArray[2],tArray[3],tArray[4],tArray[5],tArray[6],tArray[7],tArray[8],tArray[9]); } else { if ($debug) Debug.error("tArray in sendViaLocalConnection longer then allowed") } } catch(e:Error) { if ($debug) Debug.error("Error while sending ", e); } ]]> canvas.remoteLogWrite("error " + errmsg); if ($debug) Debug.write("getTimeZoneOffset callback ",returnValue); canvas.stdTimeOffset = Number(returnValue); setCurrentMouseWheelObject(this._scrollbar); disableCurrentMouseWheelObject(); lz.Browser.loadURL(canvas.currentappnameurl,"_blank"); var cmenu = new LzContextMenu(); this.setContextMenu(cmenu); cmenu.hideBuiltInItems(); 0) { this.subviews[0].destroy(); } parent._moderatormenu.removeAll(); ]]> 0) { this.subviews[0].destroy(); } ]]> this.showLoadingAnni.setAttribute('started', true); this.setAttribute("visibility","visible"); this._text.setAttribute("visibility","hidden"); this.showLoadingAnni.setAttribute('started', true); this.setAttribute("visibility","visible"); this._text.setAttribute("visibility","visible"); this.setAttribute("visibility","hidden"); Loading...