CreateJS/Zoe

CaptureSWF.as buildJSON() 4th index parameter seems to use keyframe index with "ExportType.IMAGE_FRAME" and "ReuseFrames" checked.

Closed this issue · 1 comments

If i select Image frames (ie. non-spritesheet) from the dropdown and check "reuse-frames" and "variable frame". somehow, the 4th index parameter (the one linking to the sheet index), doesn't link to the correct sheet index but uses it's starting keyframe index instead. Is this a bug with some older version? Because in https://github.com/CreateJS/Zoe/blob/master/src/com/gskinner/zoe/utils/CaptureSWF.as under line 806, it seems correct where it's using the "i" incrementing index parameter for the sprite sheet index.. ie. frames.push([0,0,rect.width, rect.height,i,ox,oy]);

Nice find, there was a bug when exporting image frames when reuse frames was checked off. I've pushed the code fix, and uploaded a new Zoe build here -> https://github.com/downloads/CreateJS/Zoe/Zoe_v0_3_3.air