open-flash / swf-parser

Rust and Typescript parsers for SWF
GNU Affero General Public License v3.0
28 stars 8 forks source link

[Fix] Fix `ButtonCond` parser #20

Closed demurgos closed 5 years ago

demurgos commented 5 years ago

The parser was parsing the ButtonCond flags in the wrong order. Reported and solved by @eddyb.

See: https://github.com/open-flash/swf-parser/pull/14#issuecomment-480501640

eddyb commented 5 years ago

I've reverted my hack and can confirm your fix worked!