Skip to main content
Participant
August 21, 2020
Question

Full screen mode help for android Air AS3

  • August 21, 2020
  • 2 replies
  • 1550 views
 I really need help to know how to make my app start on android phones with the stage and the objects at the same time in the same size in full screen, I've tried everything and so far no solution is not possible. Everything I try still appears on a white background below the app and never gets full screen. If any developer knows something to help me, I appreciate it.

 

This topic has been closed for replies.

2 replies

Participant
October 18, 2022
I'm also having trouble with this problem, please solve it
JoãoCésar17023019
Community Expert
Community Expert
October 18, 2022
Hi.

Please make sure that your app manifest (XML) has the max aspect set. Like this:
<android>
<!-- ... -->
<application>
<meta-data android:name="android.max_aspect" android:value="2.5"/>
<meta-data android:name="android.notch_support" android:value="true"/>
</application>
<!-- ... -->
</android>
 
Regards,
JC
Joseph Labrecque
Community Expert
Community Expert
August 22, 2020

When I did this sort of development, I'd always position and size everything programattically. You can get a lot of native hardware capabilities of mobiles from: https://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/system/Capabilities.html

Participant
August 22, 2020

I'm going to go this same way, Thank you.

Updated: stage.scaleMode = StageScaleMode.EXACT_FIT solved all my problems