If you are looking for the decompiler itself, visit https://github.com/jindrapetrik/jpexs-decompiler
List of issues
: The issue tracker is now writable again and logged users can download files too. But note that our support is very LIMITED.
#1438 Support for editing BUTTONCOND - on(xx)
Labels: AS1/2BUTTONCONDDirect Editationon(xxx)
Firstly thank all of u made such a wonderful software which let me can edit a flash game. I've been trying to change a button from '[' to 'i' however, when I pressed on the edit button in the bottom, the first line of the actionscript disappeared so I can't modify it. Is that a bug or I used it wrongly? I've tried so many ways but none of them work, so I seek help from the authors. > What steps will reproduce the problem? pressing the edit button. > What is the expected output? What do you see instead? I expected I can edit the first line of the actionscript, but when I wanted to edit, the first line disappeared. > What version of the product are you using? Is it "nightly build"? Which operating system do you have? 10.0.0 , I'm using win 7. > Please provide any additional information below. If the problem is related to a SWF file, attach it here, otherwise we can't help you. The swf file is attached. The place I wanted to modify is 'scripts - definebutton2(4165) - the 7th and 8th actionscripts'. Thanks very much.
Hi, the "on(Keypress)" header comes from BUTTONCOND SWF structure, where its written as set of flags (key code and type of event - keypress,keyrelease) Other ActionScript1/2 code is stored in SWF file as list of so called "Actions". FFDec ActionScript editor and P-code editor supports editing these lists of actions. "on(xxx)" headers cannot be currently edited as it's not in action list. The decompiled source shows these headers - they are shown, based on the BUTTON cond, but before editation, these are stripped and you edit only it's body. After editation, you will see it back in place as the BUTTONCOND stays not modified. We might add a better support for BUTTONCOND editation - on (xx) - in the future.
Title: can't edit the first line of actionscript→Support for editing BUTTONCOND - on(xx)
Editing of on(),onClipEvent() handler was improved in nightly 1797.