Copy link to clipboard
Copied
Dropbox - Screenshot 2015-05-29 15.35.16.png
Please take a look at the screenshot. The app can be easily maximized when the user clicks the maximize button on the top bar, but I would like this to happen automatically. Using Flash Pro CC 2014 to build. How can I make the application open the window to full screen automatically?
Thank you!
Roger
Hi,
You can use NativeWindow maximize method for this: NativeWindow - Adobe ActionScript® 3 (AS3 ) API Reference
NativeApplication.activeWindow.maximize();
Copy link to clipboard
Copied
Hi,
You can use NativeWindow maximize method for this: NativeWindow - Adobe ActionScript® 3 (AS3 ) API Reference
NativeApplication.activeWindow.maximize();
Copy link to clipboard
Copied
Thank you for this! Could you tell me how I can make my application hide the Mac dock?
Roger
Copy link to clipboard
Copied
I don't know how to hide Mac dock, but you can make your application fullscreen: Stage - Adobe ActionScript® 3 (AS3 ) API Reference
Stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE;