Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Glidias opened this issue Oct 5, 2012 · 1 comment

Comments

@Glidias
Copy link

Glidias commented Oct 5, 2012

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]);

@wdamien
Copy link
Member

wdamien commented Nov 8, 2012

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

@wdamien wdamien closed this as completed Nov 8, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants