if (oid_name == null){ oid_name = 'rectangle'+this.getCounter(); } //Debug.write("startRect"); this.currentlayer = new lz.drawViewNew(this,{ name:oid_name,width:this.width,height:this.height, opacity:this.currentrectangleOpacity}); this.drawlineOnObject(this.currentlayer,-1,-1,0,0); this.drawlineOnObject(this.currentlayer,this.width,this.height,this.width+1,this.height+1); //if ($debug) Debug.write("redrawRectItemByScaling: "+objRef); this.currentlayer = objRef; this.currentlayer._innerRect.destroy(); new lz.drawViewInner(this.currentlayer,{ name:'_innerRect',x:0,y:0,width:objRef.width,height:objRef.height}); this.drawrectangleHistory(this.currentlayer,0,0, objRef.width,objRef.height, this.currentrectanglestroke,this.currentrectangleineWidth, this.currentrectanglestrokeFill,this.currentrectanglestrokeDis, this.currentrectanglestrokeFillDis); var tmpCurrentlayer = new lz.drawViewNew(parentView,{ name:lastActionObject[lastActionObject.length-1], x:lastActionObject[lastActionObject.length-5], y:lastActionObject[lastActionObject.length-4], width:lastActionObject[lastActionObject.length-3], height:lastActionObject[lastActionObject.length-2], opacity:lastActionObject[6]}); new lz.drawViewInner(tmpCurrentlayer,{ name:'_innerRect',x:0,y:0, width:lastActionObject[lastActionObject.length-3], height:lastActionObject[lastActionObject.length-2]}); this.drawrectangleHistory(tmpCurrentlayer,0,0, lastActionObject[lastActionObject.length-3],lastActionObject[lastActionObject.length-2], lastActionObject[1],lastActionObject[2],lastActionObject[3],lastActionObject[4],lastActionObject[5]); this.doSWFDocumentStatus(tmpCurrentlayer,lastActionObject[lastActionObject.length-7]); Debug.write("drawrectregisterFinal",newName,stroke,line,fill,strokeDis,fillDis,x,y,width,height); var actionObject = new Array(); actionObject[0] = 'rectangle'; actionObject[1] = stroke; actionObject[2] = line; actionObject[3] = fill; actionObject[4] = strokeDis; actionObject[5] = fillDis; actionObject[6] = this.currentrectangleOpacity; actionObject[7] = zIndex;//-8 actionObject[8] = swfObj;//-7 actionObject[9] = this.counter;//-6 actionObject[10] = x;//-5 actionObject[11] = y;//-4 actionObject[12] = width;//-3 actionObject[13] = height;//-2 actionObject[14] = newName;//-1 this.baseactionobjectList.push(actionObject); this.onsharedMessage('draw',actionObject);