sorry that was mt typo, i copied pasted this time, this is what i have and it does not work
local myTable = {}
myTable[1] = “yellowGreen.png”
myTable[2] = “pinkDot.png”
myTable[3] = “orangeDot.png”
myTable[4] = “blueDot.png”
for i=1,#myTable do
local img = display.newImage(myTable[i])
img.x=i*10
img.y=100
end
