package
{
	import flash.display.MovieClip;
	import fl.motion.Color;
	import flash.geom.ColorTransform;

	public class TintColor extends MovieClip
	{
		private static var _tintColor:Color;
		private static var _target:MovieClip;
		private static var _colorCode:uint;
		private static var _alphaValue:Number;

		public function TintColor ():void
		{
			// leave empty
		}
		
		public static function addTint (param1:MovieClip, param2:uint, param3:Number):void
		{
			_target = param1;
			_colorCode = param2;
			_alphaValue = param3;
						
			_tintColor = new Color();
			_tintColor.setTint (_colorCode, _alphaValue);
			_target.transform.colorTransform = _tintColor;
		}
	}
}