flex 幸运大转盘 代码


     >"+testT.originY) // testT.play([this.test]); var wrap:UIComponent = new UIComponent(); wrap.addChild(zp); wrap.addChild(ls); // wrap.width = 500; // wrap.height = 500; wrap.x = 500; wrap.y = 500; this.addChild(wrap); drawZP(); drawPointLine(); // ls.x = zp.x + zp.width/2; } private function drawPointLine():void{ ls.graphics.moveTo(0,-length); ls.graphics.lineStyle(2, 0xffffff); ls.graphics.lineTo(0,-300); } private function drawZP():void{ var unitAngle:Number = 2*Math.PI/zpks; var i:Number = 0; var firstP_x:Number = 0; var firstP_y:Number = 0; var seconedP_x:Number = 0; var seconedP_y:Number = 0; zp.graphics.moveTo(0,0); var colorIndex:int = 0; while(i      -->                    width="30" />   

你可能感兴趣的:(Flex)