Adobe AIR:控件在某些构建环境中翻转(镜像) [英] Adobe AIR: Controls flipped (mirrored) in certain build environments

查看:18
本文介绍了Adobe AIR:控件在某些构建环境中翻转(镜像)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到了翻转某些控件的问题,具体取决于我构建项目的机器.在我的开发机器上,当我构建它时,一切正常.然而,当我在我们的构建服务器上构建它时,有些事情发生了变化.它似乎是在更高层上的东西 - 例如,选择控件中的选项(见下面的第一张图片),警报/覆盖(见下面的第二张图片)等.这不仅仅是文本 - 整个内容被翻转,图像和所有.

I'm having an issue where certain controls are flipped, depending on the machine that I'm building my project on. On my development machine, when I build it, everything is okay. However, when I build it on our build server, some things are flipped. It seems to be things that are on a higher layer - for instance, options in the select control (see first image below), alerts/overlays (see second image below), etc. It's not just the text, either - the entire content is flipped, images and all.

我已经验证了两种情况下的代码完全相同,因此它必须与设置或 flex SDK 版本有关.在我的开发机器上,Flex SDK 版本是 4.0.0.14159,在构建服务器上,Flex SDK 版本是 4.1.0.16076.如果需要,我可以在构建服务器上降级 SDK - 但这真的是 SDK 的问题吗?有什么想法吗?

I have verified that the code is exactly the same in both instances, so it must have something to do with settings or the flex SDK version. On my development machine, the Flex SDK version is 4.0.0.14159, and on the build server, the Flex SDK version is 4.1.0.16076. I can downgrade the SDK on the build server if needed - but could it really be an issue with the SDK? Any ideas?

谢谢!

推荐答案

看起来这将在 4.5 SDK 中修复--请参阅 SDK-26473 用于解决方法.

It looks like this will be fixed in the 4.5 SDK--see SDK-26473 for workarounds.

我能够通过在 Flex 编译器设置中关闭 Flex 3 兼容模式来修复镜像(如果使用 mxmlc,-compatibility-version=4.0).

I was able to fix the mirroring by turning off Flex 3 Compatibility Mode in the Flex compiler settings (if using mxmlc, -compatibility-version=4.0).

这篇关于Adobe AIR:控件在某些构建环境中翻转(镜像)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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