JPEXS Free Flash Decompiler Issue Tracker

If you are looking for the decompiler itself, visit https://github.com/jindrapetrik/jpexs-decompiler

NEW : We have got a new blog where we post some interesting SWF internals info.

List of issuesList of issues

#1716 Options to keep inacessible AS code
Author: user uzer0
Date created:
Type: feature
Visibility: Everybody
Assigned to:
State: closed Help

Hello. After editing AS and making some code inaccessible* it is deleted automatically on save. *by commenting, adding dummy statements (if 1>2) and return's. For purpose of reverting changes back, please add options to keep this code or ask user for that. Thanks!
admin
Dummy statements are removed if you have "Automatic deobfuscation" turned on. Also, code is not saved as is - it is compiled and upon decompilation again, it could be slightly different. (like for loops becoming while loops etc.) Also comments are discarded as there is no way to save comments to a SWF file. Only thing I can do is maybe show a warning if code contains comments, maybe a panel with warning at the bottom. Will this help?
user
Got it, didn't knew comments can't be saved, thanks. Disabling auto deobfuscation might help then, to keep the disabled code. But keeping such elements in separate text file is still a good approach imo. I don't think it necessary, thanks.
admin
State: new→closed