@@ -12,6 +12,7 @@
added neko.net.ThreadRemotingServer.onXml (to handle crossdomain xml)
more accurate stack trace for socket remoting
prevent some memory leak in haxe.Timer / JS
+ added flash fullscreen support
2007-03-06: 1.12
added flash lite support with -D flash_lite
@@ -10,6 +10,8 @@ extern class Stage
static function addListener(listener:Dynamic):Void;
static function removeListener(listener:Dynamic):Void;
+ static var displayState : String;
+
private static function __init__() : Void untyped {
flash.Stage = _global["Stage"];
}
@@ -13,4 +13,6 @@ extern class Stage extends DisplayObjectContainer {
var stageHeight : Int;
var stageWidth : Int;
private function requireOwnerPermissions() : Void;
+ var stageDisplayState : StageDisplayState;
@@ -0,0 +1,6 @@
+package flash.display;
+extern enum StageDisplayState {
+ FULL_SCREEN;
+ NORMAL;
+}
@@ -0,0 +1,7 @@
+package flash.events;
+extern class FullScreenEvent extends flash.events.ActivityEvent {
+ var fullScreen(default,null);
+ function new(type:String, ?bubbles:Bool, ?cancelable:Bool, ?fullScreen:Bool );
+ static var FULL_SCREEN : String;