Action script 1 button problem please help

Hi ya

I’m have a small bit of trouble…

I have a submit button on my site and I want a bit of action script 1 code to move to the next frame on the time line once i hit the submit button…

The button is within a movie clip and its not on the main time line can anybody help???