 	import flash.display.Stage3D;
 	import flash.display.StageAlign;
 	import flash.display.StageScaleMode;
+	import flash.display3D.Context3DProfile;
 	import flash.events.Event;
 	import flash.geom.Point;
 	

		
		private var _resized			: Signal			= new Signal('Viewport.resized');
		private var _contextLost		: Signal			= new Signal('Viewport.contextLost');

		minko_render function get context3D() : Context3DResource
		{

			{
				_stage3d = stage.stage3Ds[_stage3dId];
				_stage3d.addEventListener(Event.CONTEXT3D_CREATE, context3dCreatedHandler);
				
				_stage3d.requestContext3D("auto", _context3DProfile);
			}
			
			_stage3d.visible = visible;
