ActionScript 3 Obfuscator

Posted on:March 24 2008

I just released an Actionscript 3 Obfuscator named irrFuscator. It's free and can be downloaded from

Background story:

The problem with high level languages like C#, Java and ActionScript is that the binaries of the compiled programs are very easy the reverse engineer and to steal or to modify them. This problem is pretty huge especially with SWF files: It's pretty common in the flash developer community to steal the code or even whole games of other developers in this way. Latest example:
The official web site of the Beijing O'ymp'cs featured a copy of the game Snow Day.
So to circumvent this problem, you usually use code obfuscators to make it harder for people to steal your code. And when I started developing the game Darkness Springs, I didn't find a good code obfuscator for Actionscript 3 which fitted my needs, so I simply wrote my own one. And I am providing it now for all other people with the same problem, for free.

And the name 'irrFuscator': Yes, it's ugly, but I really was to tired to invent a better new name :)
(Visit website of irrFuscator).


Thanks Niko, I have recently gotten into Flex/Actionscript and I'm sure I'll find a use for this sometime.
2008-03-24 15:16:00

I'm looking into learning how to develop Flash games, but I want to avoid buying Adobe Flash CS3. What tools are you using for your development Niko?
2008-03-24 17:12:00

Also there is a typo on the irrFuscator website: "your .swf files are a lot saver" should be "safer".
2008-03-24 17:15:00

Do you plan to include the posility to obfuscate other programming languages (like C#, or Python, ruby...) in later versions?
2008-03-24 18:14:00

I am very surprised how much programming you do, do you sometimes sleep? Or drink you too much coffee? I want to say: Thank you very much, and I am excited what will come next!
Stefan Branske
2008-03-24 21:38:00

@Michael, use Flex
2008-03-25 06:15:00

Same as Stefan Branske. How many hours do you sleep in a day?
Don't tell me you're going to release somethin like irrOS or irrBOX :P
2008-03-25 16:30:00

I'm not sure how actionscript is compiled and decompiled. But i don't think removing line breaks can help to obfuscate the code.
2008-03-25 16:35:00

@michael: thanks, corrected.
@blend: yes, I thought about adding other languages later, but it doesn't have any priority for now.
@stefan, bull: sleep? I can do that when I am dead ;)
@bull: yes, the feature with the line breaks is only useful if you want to send the plain source code, of course.
2008-03-25 16:52:00

Michael : You can develop complete flash games using the Flex-AS combination, browse to
2008-03-26 10:53:00

How about trying a thesaurus to find a new name? Obfuscate... lesse...

"baffle, becloud, befuddle, bewilder, cloud, complicate, conceal, confound, darken, fog, fuddle, muddle, obscure, perplex, puzzle, rattle"

Heh. IrrDarken... LightDarken. :)
Michael Summers
2008-03-26 11:22:00

Niko man, you are an astonishing person!!! I also got into AS3 lately, this will be a very handy tool for me.

I am not an expert in Actionscript, but are there some parts, which shouldn't be obfuscated? I have used C# obfuscation tools and you had to keep an eye on places where reflection was used.
2008-03-27 13:40:00

Good, excellent job! But something is missed. Not everybody works in Flex, but in CS3 too. Why not to provide for this case an ability to see some kind a report with files/classes old & new names table?
Something like this: - It will be so useful and, imho, will not take much time for implementation.
2008-03-28 18:34:00

yes there are are dynamic classes in actionscript for example as well, but you can take care of these using the 'ignore' option in irrfuscator.
about a new name table: good idea.
2008-03-29 13:26:00

Add comment:

Posted by:

Enter the missing letter in: "Inter?ational"




Possible Codes

Feature Code
Link [url] [/url]
Bold [b]bold text[/b]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]