 import mx.controls.TextInput;
 import mx.core.FlexVersion;
 import mx.core.IFlexDisplayObject;
+import mx.core.ITextInput;
 import mx.core.UIComponent;
 import mx.core.mx_internal;
 import mx.events.ColorPickerEvent;

    /**
     *  @private
     */    
    mx_internal var textInput:TextInput;

    /**
     *  @private

			textInput.addEventListener(Event.CHANGE, textInput_changeHandler);
			textInput.addEventListener(KeyboardEvent.KEY_DOWN, textInput_keyDownHandler);
			
			addChild(DisplayObject(textInput));        
		}
        
        // Create the swatches grid
