简体   繁体   中英

Flash CS5.5 for iPad turns landscape stage into portrait SWF

This seems pretty weird even for Adobe standards. I've set up size of the movie to be 1024x768, which is the resolution of ipad screen in landscape. The stage looks ok but when I publish the swf it goes into portrait mode.

I even used this line of code but it doesn't help.

stage.setAspectRatio(StageAspectRatio.LANDSCAPE);

Flash IDE iPad方向

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM