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

#2263 Add a way to set element labels
Author:
Date created:
Type: feature
Visibility: Everybody
Assigned to:
Labels: SymbolClass
State: closed Help

An ability to name elements would be helpful for reverse engineering. Lists of dependent and needed characters help but trying to remember what DefineButton2 (child 390) is is not easy.
For AS1/2 and also AS3 files, the characters can have assigned name via ExportAssets tag. You can create new ExportAssets tag via context menu or add new named item to existing ExportAssets tag. For AS3 files, you can assign a classname to a character via SymbolClass tag. For this, we have special action called "Set class to character mapping" available through context menu on characters (available in nightly builds now). You can also create new classes via this dialog. You can also do this manually by creating/modifying the SymbolClass and creating the class yourself. In both cases (ExportAssets or SymbolClass), the assigned class or name is displayed on tag tree just after the tag name. This is all the naming that can be stored to the SWF file itself. If you think about an alternative naming for the purposes of decompilation, that would require something like a project file stored near the SWF and I am not really into this idea. Lists of dependent and needed characters can be really large and for this reasons, they do not contain names and classes. You can click the "+" link and the end of the list to show tag kinds. Maybe I can add something like "++" that will show full tag name just like it is presented in tag tree. I was thinking also about adding some shortcut(context menu) for ExportAssets modifications like I added for SymbolClass.
In nightly 2817, the AS3 dialog for class mapping action is renamed to "Set AS3 class linkage" and I also added new action for AS1/2 called "Set AS linkage", which will manipulate ExportAssets tags. (And also optinally create AS2 classes)
In nightly 2818, I added the option to press "+" once more in needed/dependent characters list to see them with names that are same as the tree nodes.
State: new→upgraded
Cool! The good thing is that an extra ExportAssets doesn't seem to break anything so I guess I'll use it.
State: upgraded→closed