Copy link to clipboard
Copied
Hi,
When creating an app for the Retina iPad the screen dimensions are so huge that the swf can only be partially viewed. Is there a trick to solve this?
Thanks!
Copy link to clipboard
Copied
Configure Adobe Air settings for High resolution. Than prepare content with 2x size.
For example default button 200x100 pixels and Retina copy must be 400x200
In the code put stage.scaleMode = StageScaleMode.NO_SCALE and stage.align = StageAlign.TOP_LEFT
Copy link to clipboard
Copied
Hi,
I probably didn't make my issue clear enough. When testing my iPad Retina app the dimesions of the stage are so large that I can't see almost half the content. Is there a way to test the app on a computer so I can view all the content?
The publishing settings are set to High and the content is prepared for the large retina size. I have this code: stage.scaleMode = StageScaleMode.NO_SCALE and stage.align = StageAlign.TOP_LEFT
But the issue is that I can not see all the content, or stage, because the width and height are so large to accomdate the iPad Retina's display height and width.
So do I set the stage's height and width at a lower screen resolution so I can test it on a PC? then when publishing/testing it on an iPad I double it's size?
Cheers.
Copy link to clipboard
Copied
If you want to test on PC screen - make it easy.
1) Create some class like MainDisplay that extends Sprite
2) Add it to the stage
3) When than add all your project to this MainDisplay as child.
Than make MainDisplay.scaleX = MainDisplay.scaleY = 0.5;
This will scale down your sprite but save the rest size. Not good solution but one of best. Before publish to iOS simply change 0.5 to 1
Find more inspiration, events, and resources on the new Adobe Community
Explore Now