import flash.printing.PrintJob; //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().scaleX = 1; this.getDisplayObject().scaleY = 1; 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; } } } this.baseactionobjectList.splice(pos, 1); if ($debug) Debug.warn("deleteItemByName :: ", objName); this.checkStepLayers(); if (newA[0] == "swf") { this.doDeleteFromDocumentsBar(objName); } } if ($debug) Debug.write("deleteItemByNameSync Found Object: ", pos, newA); 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); if ($debug) Debug.info("Start typing ..... ", canvas.publicSID); var msg = new Array(); msg[0] = 'typingActivity'; msg[1] = true; msg[2] = canvas.publicSID; canvas.objMessage = msg; canvas.thishib.sendMessage.doCall(); if ($debug) Debug.info("..... end typing ", canvas.publicSID); var msg = new Array(); msg[0] = 'typingActivity'; msg[1] = false; msg[2] = canvas.publicSID; canvas.objMessage = msg; canvas.thishib.sendMessage.doCall(); 0) { var idx = objList.length - 1; this.setAttribute('drawmodus', 'pointer'); //if ($debug) Debug.write("doSetHandBodus:: ", idx, objList[idx][objList[idx].length - 1]); this.doShowObjectBounds(objList[idx][objList[idx].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(); -1 ; --eg) { var item = this.baseactionobjectList[eg]; var px = item[item.length - 5], py = item[item.length - 4], pwidth = item[item.length - 3], pheight = item[item.length - 2]; //FIXME TODO rotation is not taken into account if (px <= x && px + pwidth >=x && py <= y && py + pheight >=y) { if (item[0] != "mindMapNode" && item[0] != "mindMapCenter") { var swfObject = item[item.length - 7]; if (swfObject == null) { tempList.push(item); } else { if ($debug) Debug.write("getObjectInBounds :: swfObject ", swfObject.isVisible); if (swfObject.isVisible) { tempList.push(item); } } } if ($debug) Debug.write("found obj: ", item); break; } } return tempList; ]]> //Debug.write("sendWatchObject: ",action,actionObject);