Calling a function on the timeline from a class

in my menuButton class I add an eventlistener but moveAlong is on the main timeline how do I call it?

public function menuButtons():void
{

addEventListener(MouseEvent.CLICK, moveAlong);

    }