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.

#1997 Can't import Symbol-Class
Author:
Penteste27

Date created:
Type: bug
Visibility: Everybody
Assigned to:
State: closed 

> What steps will reproduce the problem?
Open FFdec.
Open SWF File.
Export SymbolClass from the file
Edit it
Click Import other, select Import Symbol-Class
Select the folder of the edited Symbol-Class and click open.
> What is the expected output? What do you see instead?
Expected to see changes on the SymbolClass or a pop-up, instead nothing happens.
> What version of the product are you using? Is it "nightly build"? Which operating system
do you have?
Nightly build 2518 on Windows 10.
> Please provide any additional information below. If the problem is related to a SWF
file, attach it here, otherwise we can't help you.
So, i have a SWF which gives me "ReferenceError: Error #1065: Variable x is not defined."
at startup but works fine after that, my plan is to go into the symbol-class of the file
and remove every "x is not defined" variable (honestly i have no idea if it will work, i'm
just trying things), to see if it gets rid of the error. The problem is that when i try to
open the SymbolClass, FFDec freezes, I can still export it and change the variables via
notepad tho, but i'm having problems on importing the SymbolClass back, since nothing
happens when i import the symbolClass folder.
I also tried ffdec.bat -importSymbolClass file.swf fileout.swf symbolClass on CLI. It
runs, but nothing happens.
Maybe i'm just being a noob and not knowing how symbolclasses work, but i decided to
report this anyway. Any help on how to get rid of Error #1065 is welcomed :)
1) SymbolClass tag is used to map a symbol=character id (DefineSprite tag, DefineButton
tag or images tags like DefineBitsLossless) to AS3 classes. These has nothing to do with
"variables" I think. Variables as just AS3 variables in my opinion - you need to go to the
script which uses the undefined variable and edit it there. But I might be wrong - I am
not expert on flash Error messages.
2) In FFDec you export the SymbolClass tag by selecting target folder (for example
"C:\export\" ), and in that folder a new subfolder "symbolClass" is created and there is
"symbols.csv" inside it.
3) During the Import Symbol-Class operation, you must select the folder
"C:\export\symbolClass" containing the file "symbols.csv", not just "C:\export\", this
might be misleading.
4) After import, you should see SymbolClass tag as bold = modified.
5) After import, if you have SymbolClass currently selected in the tree and active on
central panel, you will probably need to select another tree item and then go back to the
SymbolClass, it is not refreshed automatically - this should be fixed, definitely a bug.
6) Symbol-class import only imports/modifies already existing items in the SymbolClass
table, you cannot add new this way. If you want to add new items to the list, you need to
do it in the GUI.
State: new→closed