# addChild in through sub class

**URL:** https://forum.kirupa.com/t/addchild-in-through-sub-class/329626
**Category:** Uncategorized
**Created:** [September 24, 2012, 10:49am UTC](https://forum.kirupa.com/t/addchild-in-through-sub-class/329626 "2012-09-24T10:49:22Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![sundarrajan](https://avatars.discourse-cdn.com/v4/letter/s/3bc359/32.png) [@sundarrajan](https://forum.kirupa.com/u/sundarrajan)
#### Post date: [September 24, 2012, 10:49am UTC](https://forum.kirupa.com/t/addchild-in-through-sub-class/329626/1 "2012-09-24T10:49:22Z")

</div>

Hi friends,  
I am new to as3 class. I tried to addChild from library to stage through the sub class of the document class. It shows me that "call to a possibly undefined method addChild.

How can I add It.

And while calling the sub class its not calling the constructor how can I call It.
