         _txt.setStyle("backgroundColor", color);
     }
 
-    override public function parentChanged (p :DisplayObjectContainer) :void
-    {
-        super.parentChanged(p);
-
-        if (p != null) {
-            // set up any already-configured text
-            _txt.text = _curLine;
-
-            // request focus
-            callLater(function () :void {
-                _txt.setFocus();
-            });
-            _controls.push(this);
-
-        } else {
-            _curLine = _txt.text;
-            ArrayUtil.removeAll(_controls, this);
-        }
-    }
-
     /**
      * Handles FlexEvent.ENTER and the action from the send button.
      */


        // if there was no error, clear the entry area in prep for the next entry event
        _txt.text = "";
    }

    /** Our client-side context. */

            _txt.height = height;
            _but.height = height;
        }

        addEventListener(Event.ADDED_TO_STAGE, handleAddRemove);
        addEventListener(Event.REMOVED_FROM_STAGE, handleAddRemove);
    }

    /**
