Copy link to clipboard
Copied
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).
Have something to add?
Find more inspiration, events, and resources on the new Adobe Community
Explore Now