AS for click outside?

is there any action script for doing something when clicked outside of a certain area? such as clicking outside of a button or MC? thanks ahead of time.