magicalhobo / SWFWire

Flash Development Tools

Home Page:http://www.swfwire.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DefineBinaryData tag is absent after Read-Write using Decompiler framework.

DmitriyYukhanov opened this issue · comments

Hi!
Please, look at this SWF:
http://www.sendspace.com/file/coet1u

It contains a DefineBinaryData tag.
But after Read-Write (using this code: http://pastebin.com/UudmEZYY) that tag is not present in the saved SWF:
http://www.sendspace.com/file/dxpzed

BTW, SWFWire Inspector fails with opening this file.

In fact, Writer produces this error:
Could not write Tag 26: Error: Unsupported tag ([class DefineBinaryDataTag]) encountered.

So looks like it just doesn't support this tag writing.. But it's used very often especially in Flex SWFs...

Made a Pull Request (#41) with fix to this issue.
Howether, attached file still not working after Read-Write, like at the #39, and it's still not readed by the SWFWire Inspector.

Closing because the file isn't available anymore, and I'm not sure if the bug still exists.