Jumping to different frames

I have 2 sequences of frames that I want played one after the other on the release of a button, each set of frames is 8 frames long and are on different parts of the time line. I"ve labled those frames.

how do i make sure that the first 8 frames are played to completion then have the playback jump to the second sequence and play those frames fully?

i am not a very handy programmer more of a designer and want to write something simple such as

on(release)
{
gotoAndPlay(“scene”, “labeled_8_frame_sequence_1”);
gotoAndPlay(“scene”, “labeled_8_frame_sequence_2”);
}

Only I know this doesn’t work because the playhead plays one frame of sequence 1, then, jumps to the beginning of sequence 2 and plays it fully

Thanks in advance