The code print out the same result
local tt = {'01.png','02.png','03.png','04.png','05.png','06.png','07.png','08.png','09.png','10.png','11.png',}
for i = 1, #tt do
print(texture:getTextureRegion(i):getRegion())
print(texture:getTextureRegion(string.format('%.2i.png', i)):getRegion())
end
Comments
yes it is undocumented API, but it works
http://www.nightspade.com