# Problems linking buttons

**URL:** <https://forum.kirupa.com/t/problems-linking-buttons/287148>\
**Category:** flash\
**Created:** [April 27, 2009, 9:10am UTC](https://forum.kirupa.com/t/problems-linking-buttons/287148 "2009-04-27T09:10:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Switch01](https://avatars.discourse-cdn.com/v4/letter/s/85e7bf/32.png) [@Switch01](https://forum.kirupa.com/u/Switch01)\
**Post date:** [April 27, 2009, 9:10am UTC](https://forum.kirupa.com/t/problems-linking-buttons/287148/1 "2009-04-27T09:10:22Z")

</div>

Hey, im creating a character sheet and all i have to do is get the character to do a few things, im using Stan from american dad, so he draws his gun, salutes, and does this guns speech, only problem is. i can get him to salute by using the code

on(release){  
gotoAndPlay(“2”);  
}

this links fine, the salute is in a movieclip on frame 2 of the timeline, and the button is set to link to this.  
problem starts after the movieclip finishes playing, i dont have a clue how to return to frame 1 on the main timeline, ive tried gotoAndStop(“1”) amongst other things (gotoAndStop(“Scene 1”, 1)  
ive also tried frameLables too but that didnt work, though im not sure if i was doing that right to start with.

Then im having a problem with my other buttons, even when set to on(release){gotoAndPlay(“3”);} they still go to frame 2 (with salute on)

Any ideas?
