Calling Flash Function on specific frame?

I have a function declaration on frame 1. Is there any way to call this function from frame 1 but use information on lets say frame 3?

For ex.

Frame 1:


function getTSText()
{
   var TS:TextSnapshot = this.textSnapshot;
   textArray.push({curFrame:currentFrame, curText:TS.getText(0,10000)});
}
//I want to do something like this:
frame3.getTSText();    //This would still be in frame 1, so I can pull all the text before 
                               //getting to frame 3 in my movie.

Thanks.