 		}
 		
 		public static const FORMAT_MARK:String = "{}";
-		private const ALLOWED_ALIGNMENTS:Array = ["left", "right"];
 	}
 
 }
		}
		
		
		override public function set color(Color:uint):void {
			super.color = Color;
			generate();
		}
		
		override public function set alignment(Alignment:String):void {
			Alignment = ALLOWED_ALIGNMENTS.indexOf(Alignment) != -1 ? Alignment : 'left';
			super.alignment = Alignment;
			generate();
		}

			generate();
		}
		
		public function generate():void {
			var formatChunks:Array = formatString.split(FORMAT_MARK);
			if (formatChunks.length != colorStrings.length + 1)
				throw new Error("Format chunk count (" + formatChunks.length + ") doesn't match color string count (" + colorStrings.length + ") + 1!");
			
			var curStr:String = "";
			for (var i:int = 0; i < colorStrings.length; i++) {
				var colorText:ColorText = colorStrings[i];
				curStr += formatChunks[i] + "<font color='#"+colorText.color.toString(16)+"'>" + colorText.text +"</font>";
			}
			_textField.htmlText = curStr + formatChunks[formatChunks.length - 1];
			_regen = true;
			calcFrame();
		}
		
		override public function setFormat(Font:String = null, Size:Number = 8, Color:uint = 0xffffff, Align:String = 'left', ShadowColor:uint = 0):FlxText {
			super.setFormat(Font, Size, Color, Align, ShadowColor);
			generate();
			return this;
