[Newb AS3] Creation of a Movieclip-like Class

Hi Community,

how do i code the following. A class, thats instances are, say, basically graphic Objects, like a grey circle, so that i can type in the code window in a .fla file:


var Circle:MyClass = new MyClass;
addChild(Circle);

And the Circle appears on stage.

How would I do that?

Greets TWERP