Well, there is no foolproof way to do this. Reason is no matter what you do, someone can figure out how to retrace your steps. So yes you could hide the location of your actionscript, but it would be easy to track down with a decompiler.
Alternatively you can obfusicate the code, basically using a tool that makes the code only readable by a machine. Its great, except that the same tool that scrambles it can possibly be used to reverse it (since its a pattern replacement tool).
jeremy - gnomeontherun
Educated questions often get educated answers, and simple questions often get simple answers.