 		
 		public function set quality(param1:String):void  {/**/ }
 		
-		public function get displayState():String  { return null }
-		
-		public function set displayState(param1:String):void  {/**/ }
+		public function get displayState():String  {
+			return (document["fullscreen"] || document["webkitIsFullScreen"] || document["mozFullScreen"]) ? "fullScreen" : "normal";
+		}
+		
+		public function set displayState(param1:String):void  {
+			if (param1.indexOf("fullScreen")!=-1) {
+				var requestFunc:Function = (_canvas["requestFullscreen"] || _canvas["webkitRequestFullScreen"] || _canvas["mozRequestFullScreen"] || _canvas["msRequestFullscreen"]);
+				requestFunc.call(_canvas);
+			} else {
+				var cancelFunc:Function = (document["exitFullscreen"] || document["webkitExitFullScreen"] || document["mozCancelFullScreen"] || document["msExitFullscreen"]);
+				cancelFunc.call(document);
+			}
+		}
 		
 		public function get fullScreenSourceRect():Rectangle  { return null }
 		

		
		public function invalidate():void  {/**/ }
		
		public function get scaleMode():String  { return null }
		
		public function set scaleMode(param1:String):void  {/**/ }

				}
			}
		}
		private function canvas_keyevent(e:Object):void {
			var jsType:String = e.type;
			var flashType:String;
			switch(jsType) {
				case "keydown":
					flashType = KeyboardEvent.KEY_DOWN;
					break;
				case "keyup":
					flashType = KeyboardEvent.KEY_UP;
					break;
			}
			if (hasEventListener(flashType)) {
				dispatchEvent(new KeyboardEvent(flashType, true, false, e.charCode, e.keyCode, e.location, e.ctrlKey, e.altKey, e.shiftKey));
			}
		}
		private function canvas_mouseevent(e:Object):void
		{
			var jsType:String = e.type;
			var flashType:String;
