# Buttons advancing frames

**URL:** <https://forum.kirupa.com/t/buttons-advancing-frames/54116>\
**Category:** Uncategorized\
**Created:** [June 11, 2004, 4:28am UTC](https://forum.kirupa.com/t/buttons-advancing-frames/54116 "2004-06-11T04:28:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![GOLGO\_13](https://avatars.discourse-cdn.com/v4/letter/g/e47c2d/32.png) [@GOLGO\_13](https://forum.kirupa.com/u/GOLGO_13)\
**Post date:** [June 11, 2004, 4:28am UTC](https://forum.kirupa.com/t/buttons-advancing-frames/54116/1 "2004-06-11T04:28:29Z")

</div>

[size=3][font=Times New Roman]hello!  
i’ve got a movie with an MC in it, and i’d like for the MC to be able to jump between frames to show diff content, using a button. (back and forth between frames 1,2, and 3) after searching the forums, i found this code:

[/font][/size]

```auto
 
on(release){

_root.gotoAndStop(2); 

}

```

[font=Times New Roman][size=3] [/size][/font]

[size=3][font=Times New Roman]i’m starting to suspect i’m having a path problem. (as a newbie… i’ve had a LOT of them…) At first i was going to use a blank movie clip, and load a swf into it using this code:

[/font][/size]

```auto
 

on (release) {

			_root.contents.contents2.graphics_content.loadMovie("graphics/page1.swf");

}

```

[font=Times New Roman][size=3] [/size][/font]

[font=Times New Roman][size=3]but as you can see… i’m already several external swf’s into things, and figured for this particular task, it’d be better to keep the info all in one movie.[/size][/font]

[font=Times New Roman][size=3] [/size][/font]

[font=Times New Roman][size=3]i’ll also upload the fla. since theres a good chance i haven’t structured this thing properly. thanks for any help!![/size][/font]
