Calling a function on maintimeline from class

How do i go about calling a function in frame 1 of my timeline **from a class **file?

my function **TEST **on frame one of main timeline is just using a trace.

[SIZE=2]This is my error:

1061: Call to a possibly undefined method TEST through a reference with static type flash.displayisplayObject.