TextInput not showing on Stage

Any Ideas on what I’m missing here. It seems so simple. The trace returns “undefined”.
Thanks

import mx.controls.TextInput;
import mx.controls.TextArea;

// set style for all component text
//
_global.style.setStyle("fontFamily", "futuraLight");
_global.style.setStyle("fontSize", 9);
_global.style.setStyle("color", 0x000000);
_global.style.setStyle("embedFonts", true);


var id:Number = this.getNextHighestDepth();
this.createClassObject(TextInput, "inputName", id);
this.inputName.setSize(300, 20);
this.inputName._x = 200;
this.inputName._y = 200;
this.inputName._visible = true;

trace("inputName xPos = "+this.inputName._x);
trace("inputName yPos = "+this.inputName._y);