some content scaling questions

Hi,
I’ve been developing on the iPad 2 at 1024 x 768 in landscape mode and all is fine there.
When I attempt to make a build (letterbox) for the iPhone 3/4 and Touch, Corona generally takes care of most of the scaling automatically (thankfully).
However as you might expect there are a few problems.
You might expect that I would have position based everything off of contentWidth and contentHeight but of course you’d be wrong. I generally hard-wired the x,y positions in most cases because at the time I didn’t expect to support other resolutions. Surprisingly Corona does a pretty good job.
Some items are of course mis-positioned. What is surprising is that most of the “touch” areas are off but the graphics are correctly positioned in most cases.
How does Corona accomplish this feat and what are the known limitations?
Should I be using different settings in config.lua and build.settings?
Thanks,
-Dennis
[import]uid: 108253 topic_id: 20736 reply_id: 320736[/import]

Check out this link:

http://blog.anscamobile.com/2011/01/dynamic-image-resolution-made-easy/ [import]uid: 16734 topic_id: 20736 reply_id: 81518[/import]

Yep, that was what I needed. Thank you.
After reading that (a couple of other things) I realized I needed to handle my graphics that were larger than 512 in either x or y a little differently. I added a true parameter to my drawImage calls which fixed my graphic anomalies. I also got a stylus which helped me with the touch areas (my fingers were just too big…lol)

The only strangeness still there is that normally I play a small movie at the beginning featuring our company logo. I’m using storyboard and I make that a “scene”. At the finish of the movie I go to the next scene. Works fine in general except on an iPhone 3GS that had been upgraded to iOS 5. The game seems to hang in that case. If I skip the movie in code eveything is fine. If I only play the movie everything is fine. It just hangs when I try to do both on that phone. [import]uid: 108253 topic_id: 20736 reply_id: 81560[/import]