# \[Newb AS3\] Creation of a Movieclip-like Class

**URL:** <https://forum.kirupa.com/t/newb-as3-creation-of-a-movieclip-like-class/279526>\
**Category:** flash\
**Created:** [January 15, 2009, 5:14pm UTC](https://forum.kirupa.com/t/newb-as3-creation-of-a-movieclip-like-class/279526 "2009-01-15T17:14:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Limping\_Twerp](https://avatars.discourse-cdn.com/v4/letter/l/85e7bf/32.png) [@Limping\_Twerp](https://forum.kirupa.com/u/Limping_Twerp)\
**Post date:** [January 15, 2009, 5:14pm UTC](https://forum.kirupa.com/t/newb-as3-creation-of-a-movieclip-like-class/279526/1 "2009-01-15T17:14:32Z")

</div>

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:

```auto

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

```

And the Circle appears on stage.

How would I do that?

Greets TWERP
