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.

Error: Please login first to download files from the Issue Tracker. You can register for free.
List of issuesList of issues

#2540 Actionscript source code looks not, and not corresponding to p-code
Author:
Date created:
Type: bug
Visibility: Everybody
Assigned to:
State: upgraded Help

> What steps will reproduce the problem? I am using 24.1.0 open home sheep home 2 lost in space(or lost underground, or lost in london, should have the same issue) > What is the expected output? What do you see instead? in com.aardman.app.Achievements the function traceAll is shown as: public function traceAll() : void { var achievement:Object = null; var achieved:int = 0; var total:int = 0; for each(achievement in this.achievements) { if(achievement.available) { if((++achievement).got) { achieved++; } DevPanel.log((achievement.got ? "YES: " : "NO: ") + Translator.str(achievement.title) + " (" + achievement.id + ")"); } } DevPanel.log(""); DevPanel.log("Got " + achieved + " of " + total + " achievements"); } Though I am not familiar with p-code If I’m not mistaken, total is local2, achivement is local3 so I think the code in 24.0 should be a correct version, and this should be a regression: public function traceAll() : void { var achievement:Object = null; var achieved:int = 0; var total:int = 0; for each(achievement in this.achievements) { if(achievement.available) { total++;//here is the difference if(achievement.got) { achieved++; } DevPanel.log((achievement.got ? "YES: " : "NO: ") + Translator.str(achievement.title) + " (" + achievement.id + ")"); } } DevPanel.log(""); DevPanel.log("Got " + achieved + " of " + total + " achievements"); } similarly, the issue also appear in traceAll in com.aardman.app.Collectables And it also appear in com.aardman.app.LevelGen, createLevelPhysics should be: if(item.nonScaled) { item.removeChild(item.nonScaled); level.addChildAt(item.nonScaled,level.getChildIndex(item)); j++; item.nonScaled.scaleX = 1; item.nonScaled.scaleY = 1; item.visible = false; } shown as: if(item.nonScaled) { item.removeChild(item.nonScaled); level.addChildAt(item.nonScaled,level.getChildIndex(item)); (++item).nonScaled.scaleX = 1; item.nonScaled.scaleY = 1; item.visible = false; } sorry for the bad formatting > What version of the product are you using? Is it "nightly build"? Which operating system do you have? ffdec_24.1.0_setup.exe in https://github.com/jindrapetrik/jpexs-decompiler/releases/tag/version24.1.0 not nightly build using windows 10 > Please provide any additional information below. If the problem is related to a SWF file, attach it here, otherwise we can't help you.
It is fixed in nightly 3320.
State: new→upgraded