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

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

问题描述

我试图改变在视网膜Macbook上运行的Flex原生应用程序(空气)应用程序的分辨率。浏览器中的Flex应用程序会自动以160dpi平滑呈现所有内容,但是如果与Air安装应用程序构建的应用程序相同,则会呈现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,在你的应用的< initialWindow> 部分设置< requestedDisplayResolution> high< / requestedDisplayResolution> 描述符XML。需要Adobe 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.adobe.com/en_US/air/build/WSfffb011ac560372f2fea1812938a6e463-8000.html#WSfffb011ac560372f-4cb7055d12d779150e8-8000

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

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