addChild not working in textField

hai all,
this is the very simple actionscript i tried to display one textfield but nothing will display is output , need help!

Script code:

package {
import flash.display.Sprite;
import flash.display.Stage;
import flash.text.*;
public class Textinput extends Sprite {
public function Textinput1() {
var inputtext_txt:TextField = new TextField();

        inputtext_txt.text = "rabbit";
        inputtext_txt.border = true;
        inputtext_txt.background = true;
        inputtext_txt.height = 20;
        inputtext_txt.width = 100;


action frame code:

var input:Textinput = new Textinput();

thanks in advanceā€¦