AS3 RichTextBox -- - 리치 텍스트 입력 상자

package
{
	import flash.text.TextField;
	import flash.text.TextFieldAutoSize;
	import flash.text.TextFieldType;
	import flash.text.TextFormat;
	/**
	 *       ,   C#         :RichTextBox
	 * @author Jave.Lin
	 */
	public class RichTextBox extends TextField
	{
		public function RichTextBox($x:Number=0,$y:Number=0,$width:Number=100,$height:Number=100)
		{
			super();
			
			x = x;
			y = y;
			width = $width;
			height = $height;
			
			defaultTextFormat = new TextFormat("Verdana", 10, 0);
			autoSize = TextFieldAutoSize.LEFT;
			
			wordWrap = true;
			type = TextFieldType.INPUT;
			
			border=true;
		}
	}
}

좋은 웹페이지 즐겨찾기