I recently purchased the SWF Decompiler (v6.0 build 612) and I have been working on understanding the process to recreating some FLAs for SWFs we have.
I picked a simple SWF to begin with and it seemingly exported without problems (a fla was created, and quite a few AS files). I accepted the suggested export defaults (v9) and went on, so I didn't modify anything.
However when I tried to build the FLA in FlashCS4 I ended up getting many syntax errors in the generated AS code. One error I get is:
- 1084: Syntax error: expecting rightbrace before leftbracket.
Once I corrected that simple error. I started getting MANY "Warning 3596: Duplicate variable definition" warnings. Looking at the generated code, there were duplicates.
Is this expected behavior? Is there anyway to correct this?
thanks in advance for your help,