顯示具有 Mobile 標籤的文章。 顯示所有文章
顯示具有 Mobile 標籤的文章。 顯示所有文章

2011年8月1日 星期一

AIR Mobile iPhone 離開遊戲自動關閉設定

<iPhone>

        <InfoAdditions><![CDATA[

                <key>UIDeviceFamily</key>

                <array>

                        <string>1</string>

                        <string>2</string>

                </array>

                <key>UIApplicationExitsOnSuspend</key>

                                <true/>

        ]]></InfoAdditions>

        <requestedDisplayResolution>high</requestedDisplayResolution>

</iPhone>

2011年7月19日 星期二

Flex Moblie 旋轉主螢幕

applicationComplete之後執行:

stage.align = StageAlign.TOP_LEFT;
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.autoOrients=false;
stage.setAspectRatio(StageAspectRatio.LANDSCAPE);