# Button probs?

**URL:** <https://forum.kirupa.com/t/button-probs/207920>\
**Category:** Uncategorized\
**Created:** [November 22, 2006, 7:12pm UTC](https://forum.kirupa.com/t/button-probs/207920 "2006-11-22T19:12:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![roachford](https://avatars.discourse-cdn.com/v4/letter/r/8797f3/32.png) [@roachford](https://forum.kirupa.com/u/roachford)\
**Post date:** [November 22, 2006, 7:12pm UTC](https://forum.kirupa.com/t/button-probs/207920/1 "2006-11-22T19:12:41Z")

</div>

Hi,

I have a button in scene one of a flash movie. I want it to link to scene two but for some reason, when I have put the action script in for it to do this, the button simply replays the action in scene 1???

My action code looks like this…

1 on (release) {  
2 gotoAndPlay(“Scene 2”, 1)  
3 }

Any ideas where I am going wrong???

Thanks in advance,

R
