对Flex更新的4.9.1休息移动设备的屏幕方向 [英] Update to Flex 4.9.1 breaks mobile device screen orientation

查看:158
本文介绍了对Flex更新的4.9.1休息移动设备的屏幕方向的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近更新我的Flex SDK从Flex的4.6到Apache的Flex 4.9.1 从那时起,我的应用程序并不装置重新定位回应了。

I recently updated my Flex SDK from Flex 4.6 to Apache Flex 4.9.1 Since then, my app doesn't respond to device reorientation anymore.

这是仿真器以及一个实际设备的情况下(我试过iPad和Galaxy Tab的10.1)

This is the case for the emulator as well as an actual device (I tried iPad and Galaxy Tab 10.1 )

我并没有改变,在code什么,只是切换的SDK和更新app.xml中的SDK命名空间3.4。

I didn't change anything in the code, just switched the SDK and updated the sdk namespace in app.xml to 3.4.

当然,在autoOrients在应用程序描述符设置为真。

Of course, 'autoOrients' is set to 'true' in the app-descriptor.

任何想法,为什么出现这种情况?在Flash Player中的应用程序描述符或Adobe阿帕奇没有改变什么,我需要更新?

Any ideas why this happens? Did Apache change anything in the app-descriptor or Adobe in the Flash Player, I have to update?

编辑:希望能解决这个问题,我今天更新到Apache的Flex 4.9.1 AIR 3.8。仍然没有屏幕的重新定位。如果我的SDK更改为4.6 AIR 3.4,没有任何code的变化(除了app.xml的NS,当然)它完美的作品。

Hoping to fix this issue, I updated today to Apache Flex 4.9.1 AIR 3.8. Still no screen re-orientation. If I change the SDK to 4.6 AIR 3.4 without any code changes (except the app.xml ns, of course) it works perfectly.

我还从废墟中重建了整个工作区和项目上新安装的Flash Builder的4.7。没有改变任何东西。 AARGH!

I also rebuilt the entire workspace AND project from scratch on an freshly installed Flash Builder 4.7. Didn't change anything. Aargh!

EDIT2:我今天发现了新的SDK 4.10,并急切地下载了它。什么也没有改变。仍然没有方向变化。另外,我安装了OS X 10.8.4山狮我的机器上,什么也没做。我真的越来越疯狂了这一点!我愿意做任何事情有人会推荐我来解决这个问题,因为它是一个可怕的显示塞我,包括用手挠我的高清零和的!请!给我的一些想法!我绝望了!

Today I found out about the new SDK 4.10 and eagerly downloaded it. Changed nothing. Still no orientation change. Also, I installed the OS X 10.8.4 Mountain Lion on my machine, didn't do anything. I'm really getting crazy over that! I would do anything somebody would recommend me to solve this issue, as it is a terrible show stopper for me, including scratching zeros and ones on my hd by hand! Please! Give me some ideas! I'm desperate!

推荐答案

终于修好了! 这里其实是某种问题/修改的-app descriptot文件。 我不知道什么是正是而是

Finally fixed it! There WAS in fact some problem / change in the -app descriptot file. I don't know what is was exactly but

  • 创建具有正确的SDK的应用程序/ NS
  • 复制/重命名/编辑新创建的-app.xml在我的项目文件夹

固定它。

讨厌的东西!无法辨认出任何区别两个XML的,那些没有被注释掉,但是,嘿! ,它的工作原理现在,还等什么...

Nasty stuff! Couldn't make out any difference in the two xml's, that weren't commented out, but, hey! , it works now, so what ...

这篇关于对Flex更新的4.9.1休息移动设备的屏幕方向的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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