Avoiding characters etc?

hey all,

just a quick question…could anyone help me with some actionscript code/tutorials on avoiding characters and hittests etc

cheers peeps =)