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#1062 Static variables are not inititalized from script initializer
Author: Brandon
Date created:
Type: bug
Visibility: Everybody
Assigned to:
Labels: AS3DecompilationInitializers
State: closed
> What steps will reproduce the problem?
open attached file and go to any class that has static variables
for example see
match.amy.rule.MatchRule2 (line 15)
public static var directions:Array;
> What is the expected output? What do you see instead?
should be something like public static var directions:Array = new Array([0,1],[1,0]....)
> What version of the product are you using? Is it "nightly build"? Which operating system
do you have?
i tried all of 6.0.* including 654 nightly build (the latest)
> Please provide any additional information below. If the problem is related to a SWF
file, attach it here, otherwise we can't help you.
i attached swf
amy.cache144343036300.swf.swf (19,543 KiB)
Same problem with constants.
Constants are replaced in code by their value.
Unlike static variables that are lost infact.
Try nightly build 955 or later.
State: new→upgraded
JPEXS, nightly 956 works like charmed.
Thaks!
State: upgraded→closed
Title: Static variables are not inititalized→Static variables are not inititalized from script initializer
Title: Static variables are not inititalized→Static variables are not inititalized from script initializer