+ update 2020: WARNING - support of the decompiler is now VERY LIMITED. There are no active developers. This means we will NOT develop new features and/or fix most of bugs. We left the tracker running in case somebody from community would like to work on it. Sorry for the inconvenience.
State: new new: Initial state. As long as issue is in this state, the work on the issue has not yet begun. opened: Opened state means developer started working on the issue. Feature/Fix will probably be in the next release. postponed: This means developer is not working on it now, for some reason it cannot be implemented now. Issue may be opened again in the future. upgraded: Issue is in upgraded state when developer made changes to the program and new version was released. closed: This means the user is satisfied with issue results and no more changes are needed. invalid: These issues cannot be solved. ignored: Developer decided to take no action on this issue. returned: Program changes were made but user is not satisfied and returned the issue.
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.
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) Type: bug→feature