How can i make a button, that first finishes x frames and

Hiya, flash-N00b & new here,

and i got a question,
ive looked trough the action scripts, and trough the entire 1200 page Flash handbook, but i couldnt find this one thing, wich i need really bad, im sure its scriptable, but i havent script one thing, besides some poor html.

what i want to know is, how can i make a button, that first finishes XX frames, and then goes to a sertain frame somewhere else on the timeline.

i hope someone can help me out, gotta finish this tomorrow for a schoolproject, and the teach doesnt even know what ‘action scripting is’ lol.

thnx in advance :)=)