//Debug.write("### getCounter :",this.counter); var now = new Date(); return "_"+now.getTime(); this.counter) this.counter = c; ]]> if (this.isRemoteOID){ //wrong reference, swagner 20.09.2008 //this.getOID.doCall(); } //Debug.write("********** this oninit: ",this); this.basdrawredoView = new LzView(canvas,{visible:false,y:440}); this.layers = new Array(); this.last_x = this.x; this.last_y = this.y; this.redolayers = new Array(); this.baseactionobjectList = new Array(); this.baseredoactionobjectList = new Array(); =0;i--) { var itemToDelete = this.baseactionobjectList[indexOfItemsToDelete[i]]; var refObj = this.getObjectByName(itemToDelete[itemToDelete.length-1]); refObj.destroy(); this.baseactionobjectList.splice(indexOfItemsToDelete[i],1); } ]]> 1) { this.subviews[1].prepareForDelete.sendEvent(); this.subviews[1].destroy(); } while (this.basdrawredoView.subviews.length > 0) { this.basdrawredoView.subviews[0].destroy(); } this.setAttribute("x",0); this.setAttribute("y",0); this.getDisplayObject()._xscale = 100; this.getDisplayObject()._yscale = 100; this.onupdateScale.sendEvent(null); parent.parent.zoombox.setWhiteboardValues(true,100); this.layers = new Array(); this.redolayers = new Array(); this.baseactionobjectList = new Array(); this.baseredoactionobjectList = new Array(); this.checkStepLayers(); this.clearDocumentsBar(); ]]> if (modi=='saveobj'){ if (this.sendObject) this.sendObject.sendEvent(); } else if (modi=='loadobj'){ } var paintToolBar = this.getPaintToolBar(); paintToolBar.updateToolSelection(modi); this.setModus(modi); if (this.doClearSlide) { this.clearSlideOnly(); } else if (this.doClearAll) { this.clearAll(); } //Do nothing if (this[objName]) { return this[objName]; } return null; newA[newA.length-8]) { this.baseactionobjectList[eg][this.baseactionobjectList[eg].length-8]-=1; } } } if (pos!=-1) this.baseactionobjectList.splice(pos, 1); //if ($debug) Debug.write("this.baseactionobjectList.length: ",this.baseactionobjectList.length); //if ($debug) Debug.write("this.layers.length: ",this.layers.length); if ($debug) Debug.warn("deleteItemByName :: ",objName); this.checkStepLayers(); if (newA[0] == "swf") { this.doDeleteFromDocumentsBar(objName); } return newA; ]]> 0){ if (this.boundingref!=null) this.boundingref.removeIt(); var lastActionObject = this.baseactionobjectList.pop(); this.deleteItemByNameSync(lastActionObject[lastActionObject.length-1]); this.onsharedMessage('undo',lastActionObject); } ]]> if (this.layers.length==0){ this.setAttribute('hasprevious',false); } else { this.setAttribute('hasprevious',true); } if (this.redolayers.length==0){ this.setAttribute('hasenext',false); } else { this.setAttribute('hasenext',true); } //this.setAttribute('drawmodus',this.getAttribute('drawmodus')); 0){ for (var eg=0;eg if ($debug) Debug.write("onmouseupMethod this.drawmodus: ",this.drawmodus); 1){ this.setAttribute('drawmodus','pointer'); ////Debug.write(objList[objList.length-1][objList[objList.length-1].length-1]); this.doShowObjectBounds(objList[objList.length-1][objList[objList.length-1].length-1]); } else { this.startSelect(null); this.startx = currentlayer.getMouse('x'); this.starty = currentlayer.getMouse('y'); mousetracker_del.register(lz.Idle,'onidle'); if ($debug) Debug.write("this.startSelect ",this); this.setModus("hand"); } ]]> if (this.boundingref!=null) this.boundingref.resetValues(); if (this.boundingref!=null) this.boundingref.removeIt(); ",x); //if ($debug) Debug.write("c3 ",this.baseactionobjectList[eg][this.baseactionobjectList[eg].length-4],"<",y); //if ($debug) Debug.write("c4 ",( this.baseactionobjectList[eg][this.baseactionobjectList[eg].length-4]+this.baseactionobjectList[eg][this.baseactionobjectList[eg].length-2] ),">",y); if ( ( this.baseactionobjectList[eg][this.baseactionobjectList[eg].length-5]<=x && ( (this.baseactionobjectList[eg][this.baseactionobjectList[eg].length-5]+this.baseactionobjectList[eg][this.baseactionobjectList[eg].length-3]) >=x ) ) && ( this.baseactionobjectList[eg][this.baseactionobjectList[eg].length-4]<=y && ( this.baseactionobjectList[eg][this.baseactionobjectList[eg].length-4]+this.baseactionobjectList[eg][this.baseactionobjectList[eg].length-2] )>=y ) ) { if (this.baseactionobjectList[eg][0] != "mindMapNode" && this.baseactionobjectList[eg][0] != "mindMapCenter") { if (this.baseactionobjectList[eg][this.baseactionobjectList[eg].length-7] == null) { tempList.push(this.baseactionobjectList[eg]); } else { var swfObject = this.baseactionobjectList[eg][this.baseactionobjectList[eg].length-7]; if ($debug) Debug.write("getObjectInBounds :: swfObject ",swfObject.isVisible); if(swfObject.isVisible) { tempList.push(this.baseactionobjectList[eg]); } } } ////Debug.write("found obj: ",this.baseactionobjectList[eg]); } } return tempList; ]]> if ($debug) Debug.write("sendWatchObject: ",action,actionObject); //Debug.write("sendWatchObject: ",action,actionObject);