Spritehelper Error

Hi Folks,

I am using SpriteHelper to get spritesheets in corona but getting the following error. Any ideas

require "SpriteHelperLoader"  
sLoader = SpriteHelperLoader:initWithContentOfFile("TVsprite.pshs")  
  
local tvSheet = sLoader:sheetForAnimationWithUniqueName("1tvsprite")  
  
local myDisplayObject = SpriteHelperLoader:animatedSpriteWithSheets({x = 160, y = 70}, tvSheet) -- Getting error on this line i believe  

Runtime error
…rMac/Projects/MOBILE/con/SpriteHelperLoader.lua:293: bad argument #1 to ‘newSprite’ (sprite.ISpriteSet expected, got nil)
stack traceback:
[C]: ?
[C]: in function ‘newSprite’
…rMac/Projects/MOBILE/congress/SpriteHelperLoader.lua:293: in function <…rmac>
(tail call): ?
…dministratorMac/Projects/MOBILE/con/bedroom.lua:296: in main chunk
[C]: in function ‘require’
…ministratorMac/Projects/MOBILE/con/director.lua:268: in function ‘loadScene’
…ministratorMac/Projects/MOBILE/con/director.lua:480: in function ‘changeScene’
…s/AdministratorMac/Projects/MOBILE/con/main.lua:29: in function ‘main’
…s/AdministratorMac/Projects/MOBILE/con/main.lua:41: in function <…s>
?: in function <?:215> [import]uid: 131058 topic_id: 24091 reply_id: 324091[/import] </…s></…rmac>

Unfortunately we can’t help you with third party tools, although hopefully another member of the community might have experienced this and be able to assist.

If not I’d encourage you to get in touch with the creator of the tool for advice. [import]uid: 52491 topic_id: 24091 reply_id: 97261[/import]