package
{
	import flash.display.MovieClip;
	import flash.display.Stage;
	import flash.events.Event;

	public class Credits extends MovieClip
	{
		private var graficos:MovieClip;
		
		public static function Init(stage:Stage)
		{
			var c:Credits = new Credits();
			stage.addChild(c);
		}
		
		public function Credits()
		{
			addEventListener(Event.ADDED_TO_STAGE, onAddedToStage);
		}
		
		protected function onAddedToStage(event:Event):void
		{
			graficos = Resources.GetInstance().Instantiate("mcCreditos");
			addChild(graficos);
		}
	}
}