# Jumping to different frames

**URL:** <https://forum.kirupa.com/t/jumping-to-different-frames/199524>\
**Category:** Uncategorized\
**Created:** [September 3, 2006, 6:02pm UTC](https://forum.kirupa.com/t/jumping-to-different-frames/199524 "2006-09-03T18:02:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bobbyopulent](https://avatars.discourse-cdn.com/v4/letter/b/4491bb/32.png) [@bobbyopulent](https://forum.kirupa.com/u/bobbyopulent)\
**Post date:** [September 3, 2006, 6:02pm UTC](https://forum.kirupa.com/t/jumping-to-different-frames/199524/1 "2006-09-03T18:02:04Z")

</div>

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
