package 
{
	import flash.display.Sprite;
	import flash.events.Event;
	import flinjin.events.FlinjinEvent;
	import flinjin.Flinjin;
	import flinjin.sound.FlinjinSound;
	import Game.GameMain;

	/**
	 * ...
	 * @author Michael Miriti
	 */
	[Frame(factoryClass="Preloader")]
	public class Main extends Flinjin 
	{
		/** Bonobo - Pick Up **/
		//[Embed(source="snd/pickup.mp3")]
		private static var _sndPickUp:Class;
		
		//private var _sndMainTheme:FlinjinSound = new FlinjinSound(new _sndPickUp());
		
		public function Main():void 
		{
			addEventListener(FlinjinEvent.ENGINE_STARTUP, onEngineStartup);
		}
		
		private function onEngineStartup(e:FlinjinEvent):void 
		{
			/**_sndMainTheme.loop = true;
			_sndMainTheme.play();**/
			Camera.LookAt(new Intro());
		}
	}

}