JPEXS Free Flash Decompiler Issue Tracker

If you are looking for the decompiler itself, visit

: The issue tracker is now writable again and logged users can download files too. But note that our support is very LIMITED.

List of issuesList of issues

#1534 Problem with FFDEC XML import for DefineButton/DefineButton2 tags
Date created:
Type: bug
Visibility: Everybody
Assigned to:
Labels: XML
State: opened Help

> What steps will reproduce the problem? Reading any XML file, exported from FFDEC and which includes DefineButton<n> tags, back into FFDEC. In the "scripts" node in the tree, the DefineButton tag is corrctly identified as a sub-node but, when that is expanded, the node (sub-sub-node?) below is unnamed. Clicking on that unnamed node shows the message "// Decompiling..." in the Actionscript source pane and the message "; Disassembling..." in the p-code source pane, instead of any Action Script code. Clicking "Edit Action Script" in the Actionscript source pane and immediately "Cancel", displays the on(...) structure with the arguments expected from the "BUTTONCONDACTION XML record and its curly bracket structure ... but curly bracket structure is empty. One example of such a failing XML line is: <item actionBytes="880c0002005f676c6f62616c00780096020008001c960200080196050007010000004f00" condIdleToOverDown="false" condIdleToOverUp="false" condKeyPress="0" condOutDownToIdle="false" condOutDownToOverDown="false" condOverDownToIdle="false" condOverDownToOutDown="false" condOverDownToOverUp="true" condOverUpToIdle="false" condOverUpToOverDown="true" type="BUTTONCONDACTION"/> The Action Script source, resulting from this XML line (after clicking "Edit Action Script" and "Cancel") is: on(press, release){ } > What is the expected output? What do you see instead? By contrast, when the underlying original SWF file is read, the node, which was unnamed above, is labelled as "BUTTONCONDACTION" and the script code and P-code are correctly displayed in the respective two panes. > What version of the product are you using? Is it "nightly build"? Which operating system do you have? This is with FFDEC version 11.2.0. > Please provide any additional information below. If the problem is related to a SWF file, attach it here, otherwise we can't help you. This would seem to prevent the generation of a new SWF file, containing the DefineButton tag, from XML. This would not seem to be a security action (i.e. no Action Scripts translated) since DoAtion tags are processed correctly. This generation of a new SWF file was my immediate aim.
I am sorry for letting you wait so much without an answer and I don't think it is now (after flash shutdown) even relevant, but: I cannot reproduce your problem without the sample SWF file.
State: new→opened