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

TagDefineEditText is not read correctly #33

Open
0xE1 opened this issue Nov 28, 2015 · 0 comments
Open

TagDefineEditText is not read correctly #33

0xE1 opened this issue Nov 28, 2015 · 0 comments

Comments

@0xE1
Copy link

0xE1 commented Nov 28, 2015

"data.reset_bits_pending()" is required after "self.bounds = data.readRECT()", otherwise there's 1 byte shift.
fontHeight have to be read with hasFont or hasFontClass flag. Currently only hasFont is checked.
Otherwise there's 2 bytes shift after that.

Ref1: http://sourceforge.net/adobe/swfinvestigator/code/17/tree/trunk/SWFInvestigator/src/decompiler/swfdump/TagDecoder.as#l1191
Ref2: http://sourceforge.net/adobe/swfinvestigator/code/17/tree/trunk/SWFInvestigator/src/decompiler/swfdump/TagDecoder.as#l1162
Example: http://pastebin.com/jyjd1FrB

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

1 participant