Scripting : Open a random file

Hi,

I’m kind of a newbie to scripting… I’m intending to use flash to serve as a navigation menu on my website to open a random file to a specific frame.

on (press) {
getURL(“test1.htm”, “mainFrame”);
}

However, how can I make it in such a way that it will randomly pick “test1.htm”, “test2.htm” or “test3.htm”?

Thank you!
(The last time I was here was last year to ask some flash question, thanks to Eilsoe who solved my problem!)