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.

List of issuesList of issues

#1062 Static variables are not inititalized from script initializer
Author: user Brandon
Date created:
Type: bug
Visibility: Everybody
Assigned to:
Labels: AS3DecompilationInitializers
State: closed Help

> 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
user
Same problem with constants. Constants are replaced in code by their value. Unlike static variables that are lost infact.
admin
Try nightly build 955 or later.
State: new→upgraded
user
JPEXS, nightly 956 works like charmed. Thaks!
admin
State: upgraded→closed
Title: Static variables are not inititalized→Static variables are not inititalized from script initializer