Whenever an unhandled exception makes it into production somehow - whatever the reason - there's generally an option (especially with .NET programs) to print out a stack trace to the end user before the program ends completely. Even though this helps with debugging the program, if the user sends a copy of the stack trace in a bug report, it is definitely a security concern. You don't want them being able to see your code like that - not without them going through a lot of extra hassle.
But what if the text of the stack trace were encrypted before being printed to the screen? Would this be something which is safe, viable, etc.? Or would it still be something particularly worth avoiding?
Guys, I've worked with Flash for a couple of years now. I think I know what decompilation is. Some of you are putting this in its right place, and even when you mention its viability, you're saying something very useful. Others though need to learn what an obfuscator is before they say something obnoxious. Yes, I know obfuscation is very breakable, but it does at least help keep the red mat from being rolled out in front of hackers. Locks are for honest people, but they still help encourage burglars to go find quicker, easier prey. Think before you speak.