//Debug.write("startEllipse"); if (oid_name == null) { oid_name = 'ellipse'+this.getCounter(); } this.currentlayer = new lz.drawViewNew(this,{ name:oid_name,width:this.width+2,height:this.height+2, opacity:this.currentellipseOpacity}); this.drawlineOnObject(this.currentlayer,-1,-1,0,0); this.drawlineOnObject(this.currentlayer,this.width,this.height,this.width+1,this.height+1); 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:'_innerEllipse',x:0,y:0, width:lastActionObject[lastActionObject.length-3], height:lastActionObject[lastActionObject.length-2]}); //Debug.write("lastActionObject[1],lastActionObject[2]: ",lastActionObject[1],lastActionObject[2]); this.drawellipseHistory(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]); //if ($debug) Debug.write("redrawRectItemByScaling: "+objRef); this.currentlayer = objRef; this.currentlayer._innerEllipse.destroy(); new lz.drawViewInner(this.currentlayer,{ name:'_innerEllipse',x:0,y:0,width:objRef.width,height:objRef.height}); this.drawellipseHistory(this.currentlayer,0,0, objRef.width,objRef.height, this.currentellipsestroke,this.currentellipselineWidth, this.currentellipsestrokeFill,this.currentellipsestrokeDis, this.currentellipsestrokeFillDis); var actionObject = new Array(); actionObject[0] = 'ellipse'; actionObject[1] = stroke; actionObject[2] = line; actionObject[3] = fill; actionObject[4] = strokeDis; actionObject[5] = fillDis; actionObject[6] = this.currentellipseOpacity; 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);