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.
List of issues#2508 for loop initial assignment seems to not work in AS2 direct edit
Author:
dimusLV
dimusLVDate created:
Type: bug
Visibility: Everybody
Assigned to:
Labels: AS1/2Direct Editation
State: closed 

> What steps will reproduce the problem?
This should be a generally reproducible problem, but here are specific steps: open the
attached .swf, navigate to the __Packages.Toxic class and edit in the following code at
the end of the init function using direct edit:
```
var i;
for (i = 5; i < 10; i++) {
trace("a");
}
for (var j = 5; j < 10; j++) {
trace("b");
}
```
> What is the expected output? What do you see instead?
After saving the code, it seems like the initial statement that sets the variables to 5
disappears for both loops.
> What version of the product are you using? Is it "nightly build"? Which operating system
do you have?
I'm using v24.0.1 on Windows 11
> Please provide any additional information below. If the problem is related to a SWF
file, attach it here, otherwise we can't help you.
toxic2_u.swf (2,183 KiB)This is fixed in nightly 3276.
State: new→upgraded
State: upgraded→closed
