addChild in through sub class

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.