package { import flash.display.*; [SWF(backgroundColor=0x000000)] public class Circle2 extends Sprite { function Circle2() { var CirecleSet:MovieClip = new One(30); this.addChild(CirecleSet) } } } class One extends flash.display.MovieClip { function One(n:int){ scaleX = scaleY = 1.2; alpha = 0.9; graphics.beginFill(0xffffff); graphics.drawCircle(0, 0, 5); if (n > 0) addChild(new One(n - 1)) } }