 	public class TextInput extends mx.controls.TextInput {
 		
 		private var _restrictPattern:String;
+		private var _upperCase:Boolean = true;
 		
 		public function TextInput() {
 			super();
 			minWidth = 0;
 			addEventListener(TextEvent.TEXT_INPUT, textInputHandler);
+			addEventListener(Event.CHANGE, changeHandler);
 		}
 		
 		public function selectAll():void {

			}
		}
		
		public function get restrictPattern():String {
			return _restrictPattern;
		}

		public function set restrictPattern(value:String):void {
			_restrictPattern = value;
		}

		public function get upperCase():Boolean {
			return _upperCase;
		}

		public function set upperCase(value:Boolean):void {
			_upperCase = value;
		}
		
		
		
