JPEXS Free Flash Decompiler Issue Tracker

If you are looking for the decompiler itself, visit

NEW : We have got a new blog where we post some interesting SWF internals info.

List of issuesList of issues

#29 slot/const default value; syntax highlight problem
Date created:
Type: bug
Visibility: Everybody
Assigned to:
Labels: AS3DecompilationGoogle Code
State: closed Help

<b>What steps will reproduce the problem?</b> <b>1.</b> <b>2.</b> <b>3.</b> <b>What is the expected output? What do you see instead?</b> Editing public static const or var will result in no changes. It will say that it changed the trait. But still nothing changed. This works good in the beta1. The reason I still using it. <b>What version of the product are you using? On what operating system?</b> 1.1.0, 1.2.0u1, beta1, Windows 7 <b>Could you provide the SWF file you have problem with?</b> <b>If the answer is yes, then please attach it here or send me it via email.</b> <b>Could you at least attach PCode source?</b> public static var test:String = &quot;test&quot;; <b>Do you have the original source code which produced the wrong</b> <b>decompilation? If yes, then please attach it.</b> <b>Please provide any additional information below.</b>
Hi, static variables and constants are usually initialized in class initializer. Decompiled source displays values which are taken from the class initializer. You can edit these values in the class initializer. (You can select it in Traits list on left bottom corner of the window). (The second thing is - I see there is something wrong with the code highlighting (JSyntaxPane) , this needs fix.)
The syntax highlighter fix will be in next release of ASDec. If you want to fix it now, put attached file to lib directory (overwrite older). For the original problem: You can edit it in class initilizer. So I close this.
State: →closed
Title: slot/const default value; syntax highlight problem→slot/const default value; syntax highlight problem
Type: →bug
Visibility: →Everybody