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
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
Google Translate: Translate to Czech Translate to Slovak Translate to Russian Translate to Hungarian Translate to Swedish Translate to French Translate to German Translate to Spanish Translate to Italian
Change style: oceanic classic