 	import flash.display.Stage3D;
 	import flash.display.StageAlign;
 	import flash.display.StageScaleMode;
-	import flash.display3D.Context3D;
 	import flash.events.Event;
 	import flash.events.MouseEvent;
 	import flash.events.TouchEvent;
 	import flash.geom.Point;
-	import flash.utils.getTimer;
 
 	/**
 	 * The Viewport is the display area where a 3D scene can be rendered.

			
			stage.addEventListener(Event.ADDED_TO_STAGE, displayObjectAddedToStageHandler);
			stage.addEventListener(Event.REMOVED_FROM_STAGE, displayObjectRemovedFromStageHandler);
			stage.addEventListener(MouseEvent.CLICK, stageEventHandler);
			stage.addEventListener(MouseEvent.DOUBLE_CLICK, stageEventHandler);
			stage.addEventListener(MouseEvent.MOUSE_DOWN, stageEventHandler);
			stage.addEventListener(MouseEvent.MOUSE_MOVE, stageEventHandler);
			stage.addEventListener(MouseEvent.MOUSE_OUT, stageEventHandler);
			stage.addEventListener(MouseEvent.MOUSE_OVER, stageEventHandler);
			stage.addEventListener(MouseEvent.MOUSE_WHEEL, stageEventHandler);
			stage.addEventListener(MouseEvent.ROLL_OUT, stageEventHandler);
			stage.addEventListener(MouseEvent.ROLL_OVER, stageEventHandler);
			stage.addEventListener(TouchEvent.TOUCH_BEGIN, stageEventHandler);
			stage.addEventListener(TouchEvent.TOUCH_END, stageEventHandler);
			stage.addEventListener(TouchEvent.TOUCH_MOVE, stageEventHandler);
			
			setupOnStage(stage);
		}

			
			stage.removeEventListener(Event.ADDED_TO_STAGE, displayObjectAddedToStageHandler);
			stage.removeEventListener(Event.REMOVED_FROM_STAGE, displayObjectRemovedFromStageHandler);
			
			if (_stage3d != null)
				_stage3d.visible = false;
