• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

iPhone5 resolution incorrect

New Here ,
Apr 10, 2015 Apr 10, 2015

Copy link to clipboard

Copied

I'm using AIR 17 and Flash Builder and when running on a device, the values returned are half the devices values.

What is returned is 568x320 and the real dimensions are 1136x640.

Has anyone else seen this?

Views

263

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
community guidelines
Engaged ,
Apr 10, 2015 Apr 10, 2015

Copy link to clipboard

Copied

‌what exact call returns those values? is it the native flash stage or a framework stage like Starling?

Votes

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
community guidelines
New Here ,
Apr 10, 2015 Apr 10, 2015

Copy link to clipboard

Copied

Capabilities.ScreenResolutionX and Capabilities.ScreenResolutionY return 568x320.

stage.stageWidth and stage.stageHeight return 568x320.

I thought it was a resizing issue, but the resize calls return the same dimensions: fullScreenWidth (568) and fullScreenHeight (320).

But, this device is 1136x640.

Votes

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
community guidelines
Engaged ,
Apr 10, 2015 Apr 10, 2015

Copy link to clipboard

Copied

LATEST

yeah, that sure seems wrong to me. I haven't upgraded to AIR 17 yet because I'm waiting for them to work the bugs out, and this just seems to be another reason to keep using 16.

Votes

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
community guidelines