Image not displaying properly

I copied the source code that produced the image on the right from a book and I got the image on the left when I ran the code in my CORONA simluator. What is wrong pleaseeee??? Here is the pix and d asset and the code.

Here is the source code:

local background = display.newImage( “glassbg.png”, true )

local image01 = display.newImage( “moon.png”, 110, 30 ) 

local image02 = display.newImage( “moon.png” )

image02.x = 160; image02.y = 200 

image03 = display.newImage( “moon.png” )

image03.x = 160; image03.y = 320 

Corona SDK by default centers its objects.  That is, when you call display.newImage(“glassbg.png”) you never set it’s .x and .y properties, so it defaults to 0, 0 or the centering the object at the top left corner.  You seem to be positioning image01, 02 and 03 okay.  For some reason I can’t open your images, but that’s what the problem looks like in the thumbnails.

Rob

Corona SDK by default centers its objects.  That is, when you call display.newImage(“glassbg.png”) you never set it’s .x and .y properties, so it defaults to 0, 0 or the centering the object at the top left corner.  You seem to be positioning image01, 02 and 03 okay.  For some reason I can’t open your images, but that’s what the problem looks like in the thumbnails.

Rob