Get SWF Protector 3 with a special 25% discount
Now you know Flash thieve is a problem.
With the latest SWF Protector from DCOM Soft you can firmly protect both ActionScript 1/2 and ActionScript 3, so none of your files, either old or new, will stay unguarded.
Version 3.0, actually available for Win and Linux (Mac version to be released soon) now supports Flash 10 including Flash CS5 files!!
You can see the complete features list at the official page, I am here for a test.
I protected the Basic Box2D editor using Flash movieclips as you can see in the picture:

Then I tried to decompile it with the best decompiler available at the moment.
This is the original draw_box function:
public function draw_box(x_origin:Number,y_origin:Number,box_width:Number,box_height:Number,angle:Number,is_dynamic:Number):void { var my_body:b2BodyDef= new b2BodyDef(); if (is_dynamic) { my_body.type=b2Body.b2_dynamicBody; } var my_box:b2PolygonShape = new b2PolygonShape(); my_box.SetAsOrientedBox(box_width/2/world_scale, box_height/2/world_scale, new b2Vec2(x_origin/world_scale,y_origin/world_scale),angle); var my_fixture:b2FixtureDef = new b2FixtureDef(); my_fixture.shape=my_box; var world_body:b2Body=world.CreateBody(my_body); world_body.CreateFixture(my_fixture); }
This is the one I decompiled from the original file:
public function draw_box(arg1:Number, arg2:Number, arg3:Number, arg4:Number, arg5:Number, arg6:Number):void { var loc1:*=new b2BodyDef(); if (arg6) { loc1.type = b2Body.b2_dynamicBody; } var loc2:*; (loc2 = new b2PolygonShape()).SetAsOrientedBox(arg3 / 2 / this.world_scale, arg4 / 2 / this.world_scale, new b2Vec2(arg1 / this.world_scale, arg2 / this.world_scale), arg5); var loc3:*; (loc3 = new b2FixtureDef()).shape = loc2; var loc4:*; (loc4 = this.world.CreateBody(loc1)).CreateFixture(loc3); return; }
And this is what I get when I try to decompile the protected file:

(sorry for the italian UI – it’s a Windows7 error)
So I can say your actionscript will be more than safe with SWF Protector 3.
Get the 25% discount coupon: use this code REFLPRTCT-RTW5 when purchasing the software. It works!

Also, you may want to stay up to date with new releases and announcements joining http://twitter.com/SWF_Protector.
They can be easily customized to meet the unique requirements of your project.


























This post has 11 comments
Leroy 'The 1nteger' Frederick
Hehe, I got mine free via the FFG blog ‘Protect My SWF Contest’ http://freelanceflashgames.com/news/2010/04/17/ffg-protect-my-swf-contest-winners/comment-page-1/#comment-2471
I feel safer already :)
Ronald Green
Honestly I don’t really understand the need for this. I mean I’ve decompiled my own flash before, and I can say, with every single decompiler I’ve tried, NONE of the decompiled SWFs I was given as a result were useful in the least. The code, especially the graphic assets was so ridiculously unorganized that it was a lot easier to start from scratch. I feel it would be the same to people trying to steal your code, because if they aren’t good enough to be able to write the code themselves, they won’t be patient or good enough to be able to properly use yours.
Flasher
Hello, nice deal you have there for the readers. I’ve been looking forward to buy SWF Protector when I get to the point that I’ve got to publish my first game.
Now only thing that keeps me not buying it yet is that im not aware of the updates included to the product. Will updates be included to the product, and how long does the updates support the product. I mean if next version of SWF Protector pops out mont later, it will be waste of money for me to buy it now and better to wait untill I have to use it.
I can’t really find much at their website and if you have the answer (since you so much blog about the product :)) it could be nice to share it with all of us.
Thanks.
- Active Blog Reader
PS: Great Blog
Emanuele Feronato
Great question, looking for an “official” reply…
Flasher
I have tried to decompile few swf:s just to experiement and I think it was pretty clear code with all required stuff.
You can also avoid cheaters with this because some more experienced cheaters can take a look inside your swf and then bypass all the mechanics you have created to avoid cheaters.
You know what i’m talking about if you are aware of flash game cheating in general, if not (and you are game dev) you should explore that section of game design.
What I’ve heard, theres even game portals that has games with cheats. They decompile your game, add in game cheats (maby removes your Mochi adds etc. as well) and then publishes it under their own portal.
I really recommend for all of the programmers to protect their swf:s because these thieves are nothing else than harm for us who does this for real.
Flasher
Oops! Should have replied to Ronald Green. ;)
Alexandre
Dear Flasher,
All the upgrades within the range of 3.x version are FREE.
All the upgrades between the major versions, for example from 2.x to 3.x will be provided with a 50% discount.
Regards,
Alexandre
DComSoft
Flasher
Thanks, great. Will be purchasing copy/licence soon. :)
Ralph
Thanks for the post Emanuele. Was looking into getting some protection being that I am going to have a “Download Game” link in my actual game.
Sure it’s easy to just take a swf from a webpage, but the “Download Game” button makes it alot more obvious/easier.
Anyway, at least now I feel better that the swf is protected from decompilation.
dx0ne
Don’t want to be party breaker but http://www.swfdecrypt.com/ reverses SWF Protector and gives clean code.
Jesús
thanks for the advice. We will never be protected from decompilation.