Highlighted

AS3/Adobe AIR Orientation problem

New Here ,
Jun 19, 2015

Copy link to clipboard

Copied

After opening the native modal window(of social network) (and rotating ios device in landscape) and closing it again. App is still in portrait, as it is designed to be, but the viewport is shifted down about half the screen (496 pixels, to be precise: behind the game center overlay, the stage gets rotated into landscape, so only the top 640 px (screen width) are visible.

Use:

    <fullScreen>true</fullScreen>

    <autoOrients>false</autoOrients>

    <renderMode>direct</renderMode>

    <visible>true</visible>

    <aspectRatio>portrait</aspectRatio>

and in app:


stage.scaleMode = StageScaleMode.NO_SCALE;

stage.align = StageAlign.TOP_LEFT;


use flex sdk 4.6.0.23201 air 17.0.0.123


App should stay in portrait orientation. What I can do?error.PNG

Сообщение отредактировано: Сергей Янгичер

TOPICS
Performance issues

Views

208

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

AS3/Adobe AIR Orientation problem

New Here ,
Jun 19, 2015

Copy link to clipboard

Copied

After opening the native modal window(of social network) (and rotating ios device in landscape) and closing it again. App is still in portrait, as it is designed to be, but the viewport is shifted down about half the screen (496 pixels, to be precise: behind the game center overlay, the stage gets rotated into landscape, so only the top 640 px (screen width) are visible.

Use:

    <fullScreen>true</fullScreen>

    <autoOrients>false</autoOrients>

    <renderMode>direct</renderMode>

    <visible>true</visible>

    <aspectRatio>portrait</aspectRatio>

and in app:


stage.scaleMode = StageScaleMode.NO_SCALE;

stage.align = StageAlign.TOP_LEFT;


use flex sdk 4.6.0.23201 air 17.0.0.123


App should stay in portrait orientation. What I can do?error.PNG

Сообщение отредактировано: Сергей Янгичер

TOPICS
Performance issues

Views

209

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Jun 19, 2015 0
Adobe Employee ,
Jun 29, 2015

Copy link to clipboard

Copied

Hi sergey.yangicher‌,

We tried to reproduce the issue at our end without success. We suggest you to kindly try the latest version of AIR present at Adobe AIR 18 Beta | application development - Adobe Labs.

If the issue persist, kindly raise a bug bugbase.adobe.com  with a sample application that reproduces the issue.

Roshan

Adobe AIR

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jun 29, 2015 0