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

#669 AS3 P-code command-line replacement of static class variables
Author: user loki
Date created:
Type: question
Visibility: Everybody
Assigned to:
Labels: CommandlineP-code
State: closed Help

In this AS code: package Word { ... public class Letter extends MovieClip { public function Letter(param1:Game, param2:String = "normal") { // method body id: 1679 ... } public static var points:Object = { "E":2, "T":2, ... } ... } ...I want to replace that "points" object, but it's not contained in a method that has an id number. I guess I can just replace the function and override the value there instead of changing it's initial definition, but I was wondering if there was a way to do it without duplicating the data. In the corresponding P-code as well, "points" is defined outside the method we have an id for.
user
Actually, in the case of my specific SWF, replacing the function and overriding the value causes the game's loading screen to hang part way through. So I guess that's not a viable workaround after all.
developer
With the latest nightly you can see the methodids for the slots and innter functions, too
user
Works great! Thanks, I hadn't realized when that change took place. Oops.
developer
State: new→closed