Skip to content

Instantly share code, notes, and snippets.

@kolombet
Created December 4, 2015 15:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kolombet/05f1791d8c0fa1b05e4e to your computer and use it in GitHub Desktop.
Save kolombet/05f1791d8c0fa1b05e4e to your computer and use it in GitHub Desktop.
//stage.nativeWindow.maximize();
//var options:NativeWindowInitOptions = new NativeWindowInitOptions();
//options.systemChrome = NativeWindowSystemChrome.STANDARD;
//options.resizable = true;
//options.maximizable = true;
//var window:flash.display.NativeWindow = new flash.display.NativeWindow(options);
//var rootModule:DisplayObject = stage.getChildAt(0);
//stage.removeChild(rootModule);
//
//window.stage.stageWidth = rootModule.width;
//window.stage.stageHeight = rootModule.height;
//window.stage.addChild(MainScreen.instance);
//
//window.orderToFront();
//window.activate();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment