# Moving frames in time with audio

**URL:** <https://forum.kirupa.com/t/moving-frames-in-time-with-audio/296283>\
**Category:** flash\
**Created:** [September 12, 2009, 8:57am UTC](https://forum.kirupa.com/t/moving-frames-in-time-with-audio/296283 "2009-09-12T08:57:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mikebyrne](https://avatars.discourse-cdn.com/v4/letter/m/278dde/32.png) [@Mikebyrne](https://forum.kirupa.com/u/Mikebyrne)\
**Post date:** [September 12, 2009, 8:57am UTC](https://forum.kirupa.com/t/moving-frames-in-time-with-audio/296283/1 "2009-09-12T08:57:33Z")

</div>

I’m putting together book in Flash. The audio starts with frame 2 but the naritive continues on frame 3 and 4.

I can code a “next” button like so:

```auto

on (release) {
    gotoAndStop(3);
}
on (press) {
  stopallsounds();}

```

But i’d rather move to the next frame after a set period of time

Is it possible to have code to move to the next frame after a certain ammount of time instead of a button??
