如何在 Flex 桌面原生 (Air) 应用程序上设置更高的分辨率? [英] How to set resolution higher on Flex desktop native (Air) app?

查看:24
本文介绍了如何在 Flex 桌面原生 (Air) 应用程序上设置更高的分辨率?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试更改在 Retina macbook 上运行的 flex 本机应用程序 (air) 应用程序的分辨率.浏览器中的 Flex 应用程序会自动以 160dpi 平滑渲染所有内容,但如果我构建与 Air install 应用程序相同的应用程序,它会以 72dpi 渲染并且看起来不太好.我知道您可以在移动应用程序的应用程序描述符文件中设置分辨率,但这不是一个.此外,我也尝试在 WindowedApplication 标记上设置 applicationDPI 属性,但没有成功.有任何想法吗?谢谢...

I'm trying to change the resolution for a flex native app (air) app running on a retina macbook. Flex apps in the browser render everything smoothly at 160dpi automatically but if I build the same app as Air install app, it renders at 72dpi and doesn't look as good. I know you can set a resolution in the application descriptor file for a mobile app but this isn't one. Also, I've tried setting the applicationDPI property on the WindowedApplication tag as well with no luck. Any ideas? Thanks...

推荐答案

为了记录在案,在 AIR 桌面应用程序上启用高分辨率渲染,例如Retina Macbook Pros,在应用程序描述符 XML 的 部分设置 high.需要 Adob​​e AIR 3.6 或更新版本.

For the record, to enable high resolution rendering in AIR desktop apps running on e.g. Retina Macbook Pros, set <requestedDisplayResolution>high</requestedDisplayResolution> in the <initialWindow> part of your app descriptor XML. Requires Adobe AIR 3.6 or newer.

http://help.com/en_US/air/build/WSfffb011ac560372f2fea1812938a6e463-8000.html#WSfffb011ac560372f-4cb7055d12d779150e8-8000

这篇关于如何在 Flex 桌面原生 (Air) 应用程序上设置更高的分辨率?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆