JPEXS Free Flash Decompiler Issue Tracker

If you are looking for the decompiler itself, visit https://github.com/jindrapetrik/jpexs-decompiler

+ 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.

List of issuesList of issues

#1271 AS3 Direct Edit breaks P-Code
Date created:
Type: bug
Visibility: Everybody
Assigned to:
State: new Help

> What steps will reproduce the problem? 1. Download the attached SWF 2. Go on scripts, and press World.as 3. Press edit and then save it. 4. Save SWF and test; If the steps above do not replicate the problem then add an IF statement anywhere in the code containing a random statement (if (true) etc) > What is the expected output? What do you see instead? No bugs, SWF crashes (if doesn't crash anymore at first try, try registering/logging and entering one of your worlds) > What version of the product are you using? Is it "nightly build"? Which operating system do you have? Latest version (9.0.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. After saving, if you go look at the code, I wanted it to show something like: getlex Qname(PackageNamespace(""),"Player") But instead, it modifies stuff a weird way, doing something like: getlex Qname(PackageNamespace("World.as", "Player") What I purpose the parser/reader to do is analyze the P-Code first to check if the first parameter (PackageNamespace) is empty or has something in it. If It is empty, don't add World.as/whatever it shows, otherwhise add what usually shows. Thanks for reading! I hope the issue gets fixed soon, as it is a vital fact to my game ;)
DownloadIce EE.swf (1,213 KiB)
admin
Hi, Are you sure you sent us correct file? Class World in the toplevel package cannot be edited (AS3 direct editation - the left Edit button) at all since it contains §§goto statements (wrong decompilation) - in 9.0.0 stable version, method overlaps.
user
Oh hi! I mean't just press EDIT and then SAVE, and the SWF will crash, or atleast joining your worlds will crash
admin
The problem is: you cannot pres Save because decompiled code is invalid - see attachment. You can only press cancel. Thus the decompiler won't modify the SWF. So I guess ONE of these: 1) You sent us wrong SWF file 2) You are trying it in different version of FFDec than 9.0.0 stable (Downloaded at /www.free-decompiler.com/flash/download/ ), maybe you've got nightly build - tell us which nightly build exactly 3) You didn't even try it 4) There's difference between editing it on my computer and yours Please try it again and maybe send a video (?).
admin
or 5) You edit orher class than World in the toplevel package.