             inputField.addEventListener(KeyboardEvent.KEY_DOWN, inputField_keyDownHandler);
             inputField.addEventListener(Event.CHANGE, inputField_changeHandler);
 
-            addChild(inputField);
+            addChild(DisplayObject(inputField));
         }
 
         if (!nextButton)

     */
    override public function setFocus():void
    {
        if (stage)
            stage.focus = TextField(inputField.getTextField());
    }

    /**


        if (!inputField)
        {
            // Mechanism to use TLFTextInput. 
            var textInputClass:Class = getStyle("textInputClass");            
            if (!textInputClass || 
                FlexVersion.compatibilityVersion < FlexVersion.VERSION_4_0)
            {
                inputField = new TextInput();
            }
            else
            {
                inputField = new textInputClass();
            }

            inputField.styleName = new StyleProxy(this, inputFieldStyleFilters);
            inputField.focusEnabled = false;
