package {
	import flash.display.Sprite;
	import flash.text.TextField;
	import flash.events.Event;
	public class Test3 extends Sprite {
		public function Test3() {
			for (var k:int = 1;
			k < 23;
			k++){
				var s:Sprite = new Sprite();
				s.graphics.beginFill(0x000000,100);
				s.graphics.drawRect(0,0,12,12);
				s.graphics.endFill();
				s.x = 0;
				s.y = 0;
				addChild(s);
				var s2:Sprite = new Sprite();
				s2.graphics.beginFill(0xADD8E6,100);
				s2.graphics.drawRect(0,0,12,12);
				s2.graphics.endFill();
				s2.x = 0;
				s2.y = 0;
				addChild(s2);
				var a:Number = 0;
				a=k*.3;
				var cx:Number = 0;
				cx=Math.cos(a);
				var sy:Number = 0;
				sy=Math.sin(a);
				cx=cx*80;
				cx=cx+245;
				sy=sy*80;
				sy=sy+175;
				s.x=cx;
				s.y=sy;
				cx=cx+2;
				sy=sy-2;
				s2.x=cx;
				s2.y=sy;
			}
			addEventListener(Event.ENTER_FRAME, animate);
		}
		public function animate(event:Event):void {
		}
	}
}
