• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

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

Community Beginner ,
May 29, 2015 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

TOPICS
Development

Views

564

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
community guidelines

correct answers 1 Correct answer

Engaged , May 30, 2015 May 30, 2015

Hi,

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

NativeApplication.activeWindow.maximize();

Votes

Translate

Translate
Engaged ,
May 30, 2015 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();

Votes

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
community guidelines
Community Beginner ,
May 30, 2015 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

Votes

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
community guidelines
Engaged ,
May 31, 2015 May 31, 2015

Copy link to clipboard

Copied

LATEST

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;

Votes

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
community guidelines