Highlighted

Air app initial window width and length don't maximize automatically

Community Beginner ,
May 29, 2015

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();

TOPICS
Development

Views

408

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Air app initial window width and length don't maximize automatically

Community Beginner ,
May 29, 2015

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();

TOPICS
Development

Views

409

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
May 29, 2015 0
Engaged ,
May 30, 2015

Copy link to clipboard

Copied

Hi,

You can use NativeWindow maximize method for this: NativeWindow - Adobe ActionScript® 3 (AS3 ) API Reference

NativeApplication.activeWindow.maximize();

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 30, 2015 0
Community Beginner ,
May 30, 2015

Copy link to clipboard

Copied

Thank you for this!  Could you tell me how I can make my application hide the Mac dock?

Roger

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 30, 2015 0
itlancer LATEST
Engaged ,
May 31, 2015

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;

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
May 31, 2015 0