magicalhobo / SWFWire

Flash Development Tools

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error #2030 (EOF) while reading SWF

DmitriyYukhanov opened this issue · comments

Hi!
I got this error:
[Fault] exception, information=Error: Error #2030: End of file was encountered.

With this file:
http://www.sendspace.com/file/oz0pd9

Here is a stacktrace, hope it helps!
http://j.mp/UYtGbx

Oh, forgot to mention this happens after AsyncSWFReader.read() (like in the example).

If you're using the library, you can set AsyncSWFReader.catchErrors = true to ignore errors when reading tags.

This should have been set in Inspector, but it wasn't, so I corrected that and it now decompiles. I can't figure out if there is a problem decompiling valid DefineBitsLossless and DefineBitsLossless2 tags, or it's an obfuscation technique.

Hey!
Thanks, it's good to know I can bypass this errors, but this is a real bug, not the obfuscation issue.
Reading this test file:
http://www.sendspace.com/file/ql2bho
throws this error too(