Graphics04
/**
* Copyright 178ep3 ( http://wonderfl.net/user/178ep3 )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/iRny
*/
package
{
import flash.display.Shape;
import flash.display.Sprite;
public class SampleGraphics extends Sprite
{
public function SampleGraphics()
{
var i:uint=0;
var q:Number=0;
for(i=0; i<4; i++)
{
var shape:Shape = addChild(new Shape())as Shape;
shape.x = shape.y = 233.5;
shape.rotation = i*90;
var _x:Number=150;
var _y:Number=50;
for(q=0; q<100; q++)
{
shape.graphics.lineStyle(1,0,0.4);
shape.graphics.drawEllipse(0,0,_x,_y);
shape.graphics.endFill();
_x--;
_y++;
}
}
}
}
}