I have a spritesheet animation which i want to play only one loop, but instead it gets played 5 times before it ends. Imagesheet doesnt have repeated images. Here is my code, if anyone can help please 
function mysprite(x, y, xScale, yScale, start, count) local options={ width=202, height=202, numFrames=49, sheetContentWidth=2022, sheetContentHeight=1012, } local image\_sheet=graphics.newImageSheet("myanimation.png", options) local sprite=display.newSprite(image\_sheet, { name="once", start=start, count=count, time=10000, loopCount=1 }) sprite.x=x sprite.y=y sprite.xScale=xScale sprite.yScale=yScale sprite:play() return sprite end
