Explorar o código

completed fullscreen

Nicolas Cannasse %!s(int64=17) %!d(string=hai) anos
pai
achega
f0976610fd
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  1. 6 0
      std/flash/Stage.hx

+ 6 - 0
std/flash/Stage.hx

@@ -11,7 +11,13 @@ extern class Stage
 	static function removeListener(listener:Dynamic):Void;
 
 #if flash_v9
+	/**
+		Set to "fullScreen" in order to set Flash to fullscreen
+		(can only be done in Mouse/Keyboard event listener).
+		Don't forget allowfullscreen="true" in your SWF parameters.
+	**/
 	static var displayState : String;
+	static var fullScreenSourceRect : flash.geom.Rectangle<Int>;
 	static function onFullScreen( full : Bool ) : Void;
 #end