I’m having trouble with image fill from documents directory. This small example does not work:
[lua]
local o = display.newRect(100,100,200,200)
o.fill = { type=“image”, filename=“test.png”, baseDir = system.DocumentsDirectory }
[/lua]
However if I move the test.png to Resource Directory it works. Even with baseDir set to Documents Directory. I’m doing something wrong here?