package 
{
	import flash.text.TextField;
	import flash.text.TextFieldAutoSize;	

	public class Label extends TextField
	{
		public var fade_out : Boolean;
		
		public function Label(t : String, px : Number, py : Number, s : Number, c : uint = 0xFFFFFF) {
			x = px; y = py;	
			scaleX = scaleY = s; 
			textColor = c;
			alpha = 1;
			
			defaultTextFormat = Global.font_main;		
			embedFonts = true;			
			autoSize = TextFieldAutoSize.LEFT;			
			selectable = false;	
			mouseEnabled = false;
			
			text = t;
		}
		
		
	}
	
}