tbtlr / gordon

An open source Flash™ runtime written in pure JavaScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

and with an picture...

sevgraphiste opened this issue · comments

Hello!
If the swf contains an image, it does not work...
is it normal?
thank you!

This definitely not an expected behavior. Could you please send me the affected SWF file?

handleDefineBits needs i++ just after parsing the JPEG erroneous header 0xff, 0xd9, 0xff, 0xd8. Otherwise data.substr(0, i - 4) will get substr(0, -1).