Beginner question about using document class

I have 2 files and no code on the timeline. I have set the class Main in the .fla properties. These files are supposed to draw a circle (Pixel class) and then have it go around in a circle. I can’t figure out what the Main.as file should contain in order to get this running. It is probably laughable as it is now. It could be both files need some adjustments but I am out of ideas and a beginner with this stuff.

[SIZE=“1”]File Pixel.as:

package {

	import flash.display.MovieClip;
	import flash.display.Graphics;
	import flash.events.Event;

	public class Pixel extends MovieClip {

		var angle:Number = 45;
		var radius:Number = 15;
		var centerX:Number = stage.stageWidth/2;
		var centerY:Number = stage.stageHeight/2;
		
		var obj:MovieClip = new MovieClip();

		// Draw obj, add to display list and create event listener.
		public function Pixel() {

			obj.graphics.beginFill(0xff9933, 100);
			obj.graphics.drawCircle(100, 100, 10);
			obj.x = obj.y = 100;
			addChild(obj);
			addEventListener(Event.ENTER_FRAME, onLoop, false, 0, true);
		}
		
		// Make a circle trajectory for obj
		public function onLoop(evt:Event):void {
			var radian:Number = deg2rad(angle);
			obj.x = centerX + radius * Math.cos(radian);
			obj.y = centerY + radius * Math.sin(radian);
			angle += 3;
		}
		
		function deg2rad(deg:Number):Number {return deg * (Math.PI/180)}
	}	
}

File Main.as:

package {
	import flash.display.MovieClip;
	public class Main extends MovieClip{
		public function Main() {
			var p:Pixel = new Pixel();
			addChild(p);
		}
	}
}

[/SIZE]