Global function call?

I would like to be able to call a function from anywhere. So if you have a movieClip nested 5 levels deep and/or you have a swf in a swf in a swf you can still call this function.