[英]Flash CS5.5 for iPad turns landscape stage into portrait SWF
This seems pretty weird even for Adobe standards. 即使对于Adobe标准,这似乎也很奇怪。 I've set up size of the movie to be 1024x768, which is the resolution of ipad screen in landscape.
我将电影的尺寸设置为1024x768,这是ipad屏幕在横向上的分辨率。 The stage looks ok but when I publish the swf it goes into portrait mode.
阶段看起来还可以,但是当我发布swf时,它将进入纵向模式。
I even used this line of code but it doesn't help. 我什至使用了这行代码,但无济于事。
stage.setAspectRatio(StageAspectRatio.LANDSCAPE); stage.setAspectRatio(StageAspectRatio.LANDSCAPE);
Got it. 得到它了。 You should go to Publish Settings > Player Settings > Aspect ration: Landscape
您应该转到发布设置>播放器设置>纵横比:横向
Player Settings are hard to locate, it is the topmost right button (a spanner icon), next to the Player drop down menu. 播放器设置很难找到,它是播放器下拉菜单旁边的最右上角的按钮(扳手图标)。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.