开发者

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

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜