How to access function on Maintimeline in AS3

Hi
I want to define a function on the maintimline and then from inside a movieclip I want to call that function.

In AS2 simply doing this could achieve the resuly _root.callFunction() but this is not possible in AS3 any ideas
Thanks