sprite flickers

I’ve created a sprite sheet with 125 images using Zwoptex. I’ve also created a coordinate file from within Zwoptex. When I test the project in Corona Game edition, the sprite flickers and jumps to incorrect frames. I think the issue is that the Coordinate file is not being read correctly, but I’m not getting any errors

here is the code I’m using for my main.lua
require (“sprite”);

local zwoptexData = require “pigCord”
local data = zwoptexData.getSpriteSheetData()
local sheet=sprite.newSpriteSheetFromData(“PigSheet.png”,data)
local set=sprite.newSpriteSet(sheet,1,125)
local instance=sprite.newSprite(set)
instance.x=200;
instance.y=200;
instance.yScale=1;
instance.xScale=1;
instance:play();

I can provide the sprite sheet and coordinate file if needed. Is there a most recent example of using Zwoptex and Corona?

Thanks
[import]uid: 6893 topic_id: 3725 reply_id: 303725[/import]

The sprite also randomly cuts off the lower half of the image. The particular frame changes and appears to be random. [import]uid: 6893 topic_id: 3725 reply_id: 11364[/import]

i believe there’s a bug in the reading of the size from spritesheetdata.
https://developer.anscamobile.com/issues/3491 [import]uid: 6645 topic_id: 3725 reply_id: 11366[/import]

Thanks jmp909.
I’ve found the source of the issue and hopefully it will help someone else down the road.
I’m using sprite.xScale=-1 to flip the sprite horizontally. This introduces a little flicker at the end of the sequence which is not there when the sprite is not flipped.
The second issue was with my sprite sheets. The images I was using to create my sprite sheets were labeled image1.png…image125.png. They should be image001.png…image125.png so that they sort correctly by name.

[import]uid: 6893 topic_id: 3725 reply_id: 11927[/import]