 			_textField.multiline = false;
 		}
 		
+		protected var _cornerRadius:Number=0;
+		public function set cornerRadius(r:Number):void{
+			_cornerRadius= r;
+			invalidateDisplayList()
+		}
+		
+		public function get cornerRadius():Number{
+			return _cornerRadius;
+		}
+		
+		
 		private var _displayAsPassword:Boolean = false;
 		public function set password(b:Boolean):void{
 			_displayAsPassword = b;

		
		override public function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void{
			super.updateDisplayList(unscaledWidth, unscaledHeight);
			_textField.width = width;
			_textField.height = height;
		}
		
	}

package org.openPyro.controls
{
	import flash.events.Event;
	import flash.events.KeyboardEvent;
	import flash.text.TextFieldType;
	import flash.ui.Keyboard;
	
	import org.openPyro.events.PyroEvent;
	
	[Event(name="enter", type="org.openPyro.events.PyroEvent")]
	[Event(name="change", type="flash.events.Event")]
