开发者

How can I get my AIR (flash as3) app to display in full screen on Android? [duplicate]

开发者 https://www.devze.com 2023-02-07 09:11 出处:网络
This question already has answers here: AS3: get browser window size? (2 answers) Closed 8 years ago. At the moment it displays in a smaller window within the screen and makes most of the
This question already has answers here: AS3: get browser window size? (2 answers) Closed 8 years ago.

At the moment it displays in a smaller window within the screen and makes most of the screen white. What I would like is for it to be stretched to fill the screen. T开发者_运维百科hanks for any help.


during initialization of your application you can use flash.system.Capabilities to get the device's screen size and PPI for scaling / layout:

Screen Width: flash.system.Capabilities.screenResolutionX

Screen Height: flash.system.Capabilities.screenResolutionY

Piexls-Per-Inch: flash.system.Capabilities.screenDPI

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号