Solved

SWF Flex project to Adobe Flash builder

Posted on 2012-03-27
5
1,003 Views
Last Modified: 2012-05-28
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.
0
Comment
Question by:TommySzalapski
  • 3
  • 2
5 Comments
 
LVL 29

Expert Comment

by:dgofman
ID: 37777138
You have to export first to FLA or Flex project than editing code.
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.
0
 
LVL 37

Author Comment

by:TommySzalapski
ID: 37777883
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.
0
 
LVL 29

Accepted Solution

by:
dgofman earned 500 total points
ID: 37791287
Again decompiler to FLA working only in 10% of use cases. You have to create new project and copy some logic into your new files.
0
 
LVL 37

Author Comment

by:TommySzalapski
ID: 37795812
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.
0
 
LVL 37

Author Closing Comment

by:TommySzalapski
ID: 38020219
Oh well. Was hoping for the lazy man's solution. I guess I have to do some work myself :)
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Google Chrome Blank White Screens 13 295
Shouldn't i be able to use an old win xp machine as an internet radio? 7 120
Java and adobe flash updates 4 44
flash in chrome 4 86
Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
Recently, I was asked to recommend a tracking system to be implemented on a clients website. As the entire site was built on flash, my first thought was to suggest custom built tracking system. However, our company at that point of time didn't h…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now