NOOB question

I cant seem to find the right AS to have a button go to a diffferent frame in the timeline. Yes, I know, its pathetic but oh’well. anybody want to help? it would be appreciated. thanks.