Copy link to clipboard
Copied
Hi!
I'm beginner. I have a small as3 project, load assets like swf, text files... and then use its. I want to protected my as3 swf and assets files from decompiler (i.e Sothink, Trillix, SWFInvestigator...). I found many way to do it: use embed tag to load main swf, dotfuscator, encrypt-decrypt assets file, or use bytecode...
Well, my mean is use __bytecode__(bytedata); function to protected sensitive code like: anti-preloader, algorithm in decrypt function... But have a problem, I think __bytecode__ function available in flash player 9 (as1.0, as2.0) and lower. What is going on with __bytecode__ function in as3? Is there similar function in as3 to do it?
I caught the technology called "mxml". But I not yet find out about it. Is it possible to solve my problems?
Thanks for the suggestion!
Copy link to clipboard
Copied
if your project can be successfully decompiled it's not worth protecting.
Copy link to clipboard
Copied
Thanks for reply!
But, you just spammer?
If my project cannot be successfully decompiled , I did not need to ask anyone for that. SWF is naked file. For one who knows SWF format, everything is revealed. However, not every one knows SWF format very well. Many theft can only decompile the SWF by software available. So, if my goal is to keep as less theft as possible, I keep my method secret.
Why do you think my project not worth protecting? Maybe you don't care about of my project. But some one who compete directly with me, they can spent several days for try decompile my project to get my algorithm. What they do not have, the better for their current project.
Thanks and best regard!
Copy link to clipboard
Copied
if you have a basic project, i (along with a lot of others) can copy it without seeing any of your code. if you have a complex project, decompilers generate so many errors/problems there's no need for encryption.
and if you encrypt your code, you may encounter impossible to debug errors.
if you use the encryption no one here can help debug your encrypted actionscript. you can post the encryption creator's forum for possible help with that.
but before you do that, test your unencrypted code to make sure it works the way you want. once your project is complete and working the way you want, add your encryption.
to do that you might find it helpful to use conditional compiling. whether that is helpful depends on what kind of encryption you're using.
finally, if you're having a problem with unencrypted code, you can post here for help.
Copy link to clipboard
Copied
kglad a écrit:
if you have a basic project, i (along with a lot of others) can copy it without seeing any of your code. if you have a complex project, decompilers generate so many errors/problems there's no need for encryption.
and if you encrypt your code, you may encounter impossible to debug errors.
if you use the encryption no one here can help debug your encrypted actionscript. you can post the encryption creator's forum for possible help with that.
but before you do that, test your unencrypted code to make sure it works the way you want. once your project is complete and working the way you want, add your encryption.
to do that you might find it helpful to use conditional compiling. whether that is helpful depends on what kind of encryption you're using.
finally, if you're having a problem with unencrypted code, you can post here for help.
Thanks kglad!
My project is...normal, not simple, not complex. (smile)
Encrypt my code? Not yet, my goal. All of them are normal AS3 codes. Maybe you don't understand my mean. Very simple: how to use "__bytecode__" function (or similar funtion, similar ways, etc..) in AS3 (flash player 10.3 and above). I just want to use bytecode like here (http://www.gotoandplay.it/_articles/2004/04/swfProtection.php) to protected my sensitive code. For example: For anti preloader, I use follow code for hold more than 15 seconds to stop my app if thief use preloader to embed my swf:
if (root.name != "root1") { while(true) {} }
// else
// do something
But the thief can remove (or change) that code in my swf file to pass. So, I to use "__bytecode__" function to protected my sensitive code.
Any idea?
Find more inspiration, events, and resources on the new Adobe Community
Explore Now