I have the following code that worked perfectly fine as:
local screenGroup = self.view splashimage = display.newImage( "splash.jpg" ) screenGroup:insert( splashimage )
and when I tried to change to:
local screenGroup = self.view splashimage = display.newImageRect( "splash.jpg" ) screenGroup:insert( splashimage )
it horribly spits out some obtuse error about a table.
ERROR: table expected. If this is a function call, you might have used ‘.’ instead of ‘:’
(referencing the last line)…which makes no sense to me but I suppose someone else has an idea.
From the docs and online it looks like it should work.
Frustrated, can anyone help?
cheers!