      */
     override protected function isOurFocus(target:DisplayObject):Boolean
     {
+		if (!textInput)
+			return false;
+		
         return target == textInput.textDisplay;
     }
     

     */
    override public function setFocus():void
    {
        if (stage)
        {            
            stage.focus = textInput.textDisplay;            
        }

        else if (event.keyCode == Keyboard.ESCAPE)
        {
            // Restore the previous selectedItem
			if (textInput)
				textInput.text = itemToLabel(selectedItem);
            changeHighlightedSelection(selectedIndex);
        }
    }
