TommySzalapski
asked on
SWF Flex project to Adobe Flash builder
I inherited a SWF file with no source code, just the SWF file. I have paid versions of Sothink SWF Decompiler 7 and Adobe Flash Builder 4.6.
I can open the SWF file and see all the code. I can even find the place where the code is broken and think I know how to fix it. Sothink supposedly can edit the files right there but the edit button is always greyed out. The save as... works but just makes a copy of the broken SWF file. I've tried exporting as FLEX and as FLA and exporting the resources all into a folder but I get errors in Flash Builder when I try to open the files.
Anyone have experience doing anything like this and can tell me what I am missing?
Thanks.
I can open the SWF file and see all the code. I can even find the place where the code is broken and think I know how to fix it. Sothink supposedly can edit the files right there but the edit button is always greyed out. The save as... works but just makes a copy of the broken SWF file. I've tried exporting as FLEX and as FLA and exporting the resources all into a folder but I get errors in Flash Builder when I try to open the files.
Anyone have experience doing anything like this and can tell me what I am missing?
Thanks.
ASKER
Exporting as FLA doesn't work right. I can't even open the FLA in Adobe Flash builder without it saying "Windows cannot find Flash."
When I export it as FLEX, I have to export the resources (including .as) separately. I think I figured out where to put them but it doesn't compile. Do you know of anything that decompiles into working code? I managed to make enough changes to get it to compile (a lot of ambiguous calls) but I must have picked the wrong one in a few key places because it still isn't running correctly.
When I export it as FLEX, I have to export the resources (including .as) separately. I think I figured out where to put them but it doesn't compile. Do you know of anything that decompiles into working code? I managed to make enough changes to get it to compile (a lot of ambiguous calls) but I must have picked the wrong one in a few key places because it still isn't running correctly.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Okay. I have started doing it that way. I created a new Flex project, gave it the same name, and copied all the resources over from the decompiled one (mostly all .as and .mxml files).
I worked through the compile errors and think I fixed all the ambiguities and errors, but now it still isn't running. It comes up to the main screen but just goes white when I try to do anything that is supposed to change to another screen. I'll mess around with it some more and see if I can fix it or at least come up with a sensible question to ask.
I worked through the compile errors and think I fixed all the ambiguities and errors, but now it still isn't running. It comes up to the main screen but just goes white when I try to do anything that is supposed to change to another screen. I'll mess around with it some more and see if I can fix it or at least come up with a sensible question to ask.
ASKER
Oh well. Was hoping for the lazy man's solution. I guess I have to do some work myself :)
The problem what ever SWF Decompiler 7 showing in the editor may not work after exporting and compiling from IDE. So, SWF Decompiler 7 I can ONLY for checking business logic in the code.