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.

#2291 AS2 direct edit renames local variables incorrectly
Author:
dimusLV

Date created:
Type: bug
Visibility: Everybody
Assigned to:
State: upgraded 

> What steps will reproduce the problem?
Open the attached .swf, go to the script "__Packages.com.nitrome.toxic.Player", notice how
line 1194 uses two different registers ("while(_loc4_ < _loc2_.length)") and overall
everything works as intended. Then start editing the script, add and remove a space
somewhere and save it. Now line 1194 seemingly reuses one register twice ("while(_loc4_ <
_loc4_.length)"). Interestingly, in the p-code, the variables are still separate and the
game seems to work as intended, but this confusion still isn't ideal – if you, for
example, recompiled the script again, the variables are merged and the code no longer
works correctly.
> What version of the product are you using? Is it "nightly build"? Which operating system
do you have?
I'm using stable version 21.0.2 on 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.

This should be fixed in nightly 2900.
State: new→upgraded