JPEXS Free Flash Decompiler Issue Tracker

If you are looking for the decompiler itself, visit

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

List of issuesList of issues

#2001 Export single AS3 P-code method with body ID
Author: user nosamu
Date created:
Type: feature
Visibility: Everybody
Assigned to:
State: new Help

To keep track of code changes to an SWF file, I would really appreciate an easy way to export a single P-code method. Then, instead of directly modifying an SWF file, I could modify those exported P-code files, then run a patcher script from the command line to apply the changes with FFdec. These P-code files could be version-controlled with git, so it would be very useful. My suggested implementation would be an "Export method" button in the right-click menu of the P-code source editor panel. The exported filename should include the method body ID; this would make it easy to reimport the P-code with FFdec's -replace command without manually finding the method body ID each time. Thank you for your consideration!