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

Image sizes for AIR for iOS app (Flash CC 2015) on Retina and non-Retina iPad

Contributor ,
Jan 22, 2016 Jan 22, 2016

Can anyone give a definitive answer as to how to create and use graphics in an AIR for iOS application, created with Adobe Flash CC 2015.

I have read several references to creating say, a full screen graphic at two sizes. One at 1024x768 and the other at 2048x1536 and naming them something like "img.png" and "img@x2.png".

However, if I test the graphics the larger one just displays at twice the size of the smaller one (which fits the screen correctly). These are not launch images and are just loaded as required. However, if I was to use them as such I would also like to know how to name them, use them and where to install them in my project.

My AIR for iOS Publish settings are:

Render Mode: Direct

Device: iPhone and iPad

Resolution: High

How do I select which one to load based on the device being a Retina iPad or not?

I have tried Stage.contentsScaleFactor but this always returns 1 even on a Retina iPad (publishing directly from Flash to the connected device).

TOPICS
ActionScript
237
Translate
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
no replies

Have something to add?

Join the conversation