Protect ActionScript from Flash decompilers using SWF Protector
Ranked #6,640 in Computers & Electronics, #129,067 overall
ActionScript code Obfuscation, Protection and Encyption using SWF Protector
SWF Protector makes source code inaccessible for Flash decompilers. You are able to encrypt all ActionScript classes, or select the most sensitive ones. Now the source code is completely concealed, making SWF files' playback safe.
Choose SWF Protector to say "No" to unauthorized attempts to discover the source code of your Flash files! Get convinced that it is the most effective way to firmly protect your SWF files!
SWF Protection || Step 1 - Start
Software installation
- Retrieve the installation package of SWF Protector from the official vendor`s website. Depending on OS type you use, download installation package for Windows, Mac OS X or Linux;
- Install SWF Protector following installation steps;
- After installation process is complete, launch SWF Protector;
- Choose one of the available protection modes: Simple or Advanced.
SWF Protection || Step 2 - Simple mode
Simple mode obfuscation.
In case when SWF file contains AS 2.0, "Mask script" and "Mix script" algorithms are applied.
"Mask script" is an effective method to conceal code and doesn't lead to file size increase.
"Mix script" mixes the source code. This method is rather effective, but leads to file size increase. That is why SWF Protector offers an option to set the intensity of this method. In Simple mode the intensity for AS 2.0 files is 50% by default.
For SWF files with AS 3.0 "Protect" and "Obfuscate" algorithms are used.
"Protect" method modifies the scripts in such way that SWF files can play in Flash player, but cannot be decompiled.
"Obfuscate" method renames variables and other objects. It doesn't protect file from decompilation, but makes the code impossible to use for further compilation.

Imgage 1 - Simple mode use in SWF Protector - reliable ActionScript obfuscator
When using "Mix script" you can leave the default intensity value which is 50% or choose other using the slider. Note, that the lesser the intensity, the lesser the file size; however the protection security level is lower in this case.
Note 1: If "Mix script" is set to minimum, this protection method won't be applied.
Note 2: In order to decrease the resulting file size it is recommended not to use "Mix script" and methods for standard code. In this case however, the protection will be less reliable.
Check out developer`s protect swf page
SWF Protection || Step 2 - Advanced mode - ActionScript 2.0
Advanced mode obfuscation, ActionScript 2.0.
"Mix script" and "Mask script" are applied if SWF file contains AS 2.0.

Image 2 - Advanced mode use in SWF Protector - reliable ActionScript 2.0 obfuscator
When using "Mix script" you can leave the default intensity value which is 50% or choose other using the slider. Note, that the lesser the intensity, the lesser the file size; however the protection security level is lower in this case.
Note 1: If "Mix script" is set to minimum, this protection method won't be applied.
Note 2: In order to decrease the resulting file size it is recommended not to use "Mix script" and methods for standard code. In this case however, the protection will be less reliable.
More information is available at encrypt SWF page.
SWF Protection || Step 2 - Advanced mode - ActionScript 3.0
Advanced mode obfuscation, ActionScript 3.0.

Image 2 - Advanced mode use in SWF Protector - reliable ActionScript 3.0 obfuscator
Note 1: In case when SWF file doesn't contain AS code, "Protect" method will be inactive.
Note 2: To decrease the resulting file size it is recommended to disable "Protect" and "Obfuscate" methods for standard code.
You may find more information at obfuscate SWF page.
SWF Protection || Step 3 - Finish
After the protection process is finished, you will get two SWF files: original and the protected one.
Want to read more? - Check the secure SWF page.
SWF Protector was produced by DComSoft, Inc., is software development company with over ten years of experience in developing software solutions for Microsoft Windows, Linux and Mac operating systems.
SWF Protection || Compare obfuscated and non-obfuscated code
Actionscript code comparison before and after obfuscation with SWF Protector
Code before obfuscation:
stop();
if (this.holder1 == Number (this.holder1)) {
loadMovieNum ("jopeClipLoader5.swf", this.holder1);
} else {
this.holder1.loadMovie("jopeClipLoader5.swf");
}
Code after obfuscation:
do {
if (false) {
(() add ().holder1);// not popped
if (true) {
// unexpected jump
do {
stop();
} while (false);
// unexpected jump
if (false) {
Set("\x0B\x1A\x13\x16", true);
} while (true);
do {
if (true) {
// unexpected jump
// unexpected jump
if (false) {
} while (true);
do {
// unexpected jump
} while (true);
// swfAction0xAD hexdata 0x52,0x17,0x99,0x02,0x00,0x39,0x00,0x9A,0x01... // Unknown action
}
(() add ().holder1)[(!"holder1".holder1()).holder1].loadMovie();
// unexpected jump
/* Error1016 */
// unexpected jump
do {
(this);// not popped
if (true) {
// unexpected jump
} while (this);
(this);// not popped
// unexpected jump
}
}
}
if (false) {
} while (true);
do {
// unexpected jump
} while (true);
// swfAction0xAD hexdata 0x52,0x17,0x99,0x02,0x00,0x39,0x00,0x9A,0x01,0x00,0x00,0x99... // Unknown action
}
"holder1".holder1.loadMovie();
// unexpected jump
/* Error1016 */
// unexpected jump
do {
(this);// not popped
if (true) {
// unexpected jump
} while (this);
(this);// not popped
// unexpected jump
}
}
}
Set("\x0B\x1A\x13\x16", true);
} while (true);
do {
( /* Error1010 */);// not popped
if (true) {
// unexpected jump
// unexpected jump
if (false) {
} while (true);
do {
// unexpected jump
} while (true);
// swfAction0xAD hexdata 0x52,0x17,0x99,0x02,0x00,0x39,0x00,0x9A,0x01,0x00,0x00,0x99,0x02... // Unknown action
}
@SWF_Protector on Twitter
With all due respect,
DComSoft Team
www.dcomsoft.com
Popularity among the analogs
SWF Protector is not the only one flash obfuscator on the market... So which one do you use?
Which Actionscript Obfuscator is more popular? Lets find out!
Waiting for your Feedbacks and Suggestions!
Secure SWF using actionscript obfuscator
-
-
Clint
Jul 1, 2010 @ 3:57 am | delete
- That is great! Very interesting tutorial...
-
-
-
brandrocker
Jun 12, 2010 @ 9:09 am | delete
- Thanks for sharing the information.. I think this tool will be pretty handy for many web developers to protect their flash artwork!
-
-
-
Ammar
May 11, 2010 @ 4:51 am | delete
- I heard about this tool before. Pretty reliable...
To goodi... SWF Encrypt sucks)
-
-
-
Ruben
May 11, 2010 @ 1:35 am | delete
- @goodi
I think, I know the answer!
This is because SWF Protector provides the same(or even more) functionality then others for the much less cost. It costs 40$ only.
SWF Encrypt costs 150. Doswf more looks like some garbage.
-
-
-
goodi
May 6, 2010 @ 8:56 am | delete
- Why no swfencrypt? Why no doswf?
-
- Load More
ActionScript obfuscator from DComSoft
SWF Protector - leader among the flash obfuscators
Blog Posts from Google
Blog news related to SWF Protector
ActiveTuts news
SWF Protector
Best FREE Flash games
Protect your Flash game with SWF Protector
Twitter RSS
SWF Protector RSS
by AlexaChe
SWF Protector - reliable software for protection and obfuscation actionscript code within your SWF Flash files. Available for Windows, Mac OS and Linux.... more »
- 5 featured lenses
- Winner of 3 trophies!
- Top lens » Protect ActionScript from Flash decompilers using SWF Protector
Explore related pages
- How to protect SWF files from decompilers? How to protect SWF files from decompilers?
- How To Protect Your Flash Files From Decompilers by Using Encryption? How To Protect Your Flash Files From Decompilers by Using Encryption?
- Top security threats to Flash/Flex applications and how to avoid them Top security threats to Flash/Flex applications and how to avoid them
- Cross-domain Scripting threat, abuse Flash/Flex applications Cross-domain Scripting threat, abuse Flash/Flex applications