Your email address:



LigoWave
Other resources
 Linux certifications
 Security Focus

Tropical PC Solutions: How to convert .swf to .fla and back into .swf

How to convert .swf to .fla and back into .swf

Today Flash technology is everywhere...and for good reason. But as a self taught Flash developer you may not know how to protect your code. This is Important because it is very easy to decompile your .swf and convert it back into a .fla file. Then you can alter the .fla file and convert it back to .swf! Here we will show you how this is done.

First off we use wget (or any other downloader) to get the .swf file:
How to convert .swf to .fla and back into .swf

You see the .swf file is like a compiled binary (.exe) and you can't get at the code this way, so we need to convert the .swf file into .fla. Here we are using SoThinks SWF decompiler.
How to convert .swf to .fla and back into .swf

Once we have the .fla file we can open it using Adobe Flash Pro and alter the action script and text:
How to convert .swf to .fla and back into .swf
How to convert .swf to .fla and back into .swf

Now, once we have edited the original file as desired we can simply convert back to .swf format:
How to convert .swf to .fla and back into .swf