 
         addChild(_txt = new ChatInput());
         _txt.addEventListener(FlexEvent.ENTER, sendChat, false, 0, true);
+        _txt.addEventListener(KeyboardEvent.KEY_UP, handleKeyUp);
 
         _but = new CommandButton(sendButtonLabel, sendChat);
         addChild(_but);


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

    /**


    /** The place where the user may enter chat. */
    protected var _txt :ChatInput;

    /** The current index in the chat command history. */
    protected var _histidx :int = -1;

    /** The button for sending chat. */
    protected var _but :CommandButton;
