The following piece of code is widely used when creating a loader for a movie. This is what we wrote in the FLA file. We will compile and then decompile this twice, before and after using secureSWF.
if(_root.getBytesLoaded() == _root.getBytesTotal())
percentage = Math.round((_root.getBytesLoaded()*100)/_root.getBytesTotal());
percent = "Loading: " + percentage + "%";
preloadbar._xscale = percentage;
Decompiled code without secureSWF
After compiling, we ran the SWF file though a publicly available Flash decompiler. As shown below, the result was totally identical to the original code. Imagine if someone did this to your product!
Decompiled code after using secureSWF
We ran the SWF file though the same decompiler again, but this time after using secureSWF. How related is the decompiled code after using secureSWF to the original code?
With your product protected by secureSWF, their job is now more complicated!