牛叉的画圆方法 [AS2]

2009-04-29 00:21:57

记一笔了!AS2竟然可以这样画圆 //半径 var r:Number = 200; //---------画圆----------- this.createEmptyMovieClip("v_mc",0); v_mc._x = v_mc._y=200; var p_mc:MovieClip = v_mc.createEmptyMovieClip("p_mc", 0); v_mc.blendMode = "layer"; v_mc.lineStyle(r,0xff0000); p_mc.lineStyle(r*.99,0x00ff00); p_mc.blendMode = "erase"; v_mc.lineTo(1,0); p_mc.lineTo(1,0);