Dynamic Images Resolution

Hi everyone.

I downloaded the code created by ansca mobile about the dynamic resolution, and i have a issue.
I have the same configuration on the config.lua and i am using the same code to create a background with dynamic resolution.

local myImage = display.newImageRect( "hongkong.png", 200, 200 )  
myImage.x = display.contentWidth / 2  
myImage.y = display.contentHeight / 2  

the configuration on the config.lua is:

application =  
{  
 content =  
 {  
 width = 320,  
 height = 480,  
 scale = "letterbox",  
  
 imageSuffix =  
 {  
 ["-x15"] = 1.5, -- A good scale for Droid, Nexus One, etc.  
 ["-x2"] = 2, -- A good scale for iPhone 4 and iPad  
 },  
 },  
  
}   

i am using it, and my images have the same name, everything is equal, the only difference is, my background image for the iphone, have 320x480 and for the iphone 4 have 640x960, and the images created by ansca have 200x200, 300x300 and 400x400, i cant use my resolutions? Should use only the same resolutions used by ansca?

Thanks [import]uid: 26056 topic_id: 23206 reply_id: 323206[/import]

You can use your resolutions.

display.newImageRect(image, baseWidth, baseHeight)

You should always specify the resolution of your base image width and height, and your @15x and @2x files should be 1.5 x the base image size and the @ 2x ones double the base image size [import]uid: 84637 topic_id: 23206 reply_id: 92861[/import]