Here's a demo of Polystyle's PHP obfuscator which works the same as the Actionscript obfuscator:
With it you can obfuscate Actionscript so that you can make your code hard to read. This allows you to sell your source code without anyone else being able to easily reverse engineer it.
- Strips comments, newlines where ever possible, jumbles variable and function names
- Analyzes external code so that your function calls to existing libraries will still work
- Works on the command line or using the GUI