# Buttons going to wrong scene!

**URL:** <https://forum.kirupa.com/t/buttons-going-to-wrong-scene/225657>\
**Category:** Uncategorized\
**Created:** [May 14, 2007, 6:44pm UTC](https://forum.kirupa.com/t/buttons-going-to-wrong-scene/225657 "2007-05-14T18:44:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sunshine1084](https://avatars.discourse-cdn.com/v4/letter/s/bc79bd/32.png) [@sunshine1084](https://forum.kirupa.com/u/sunshine1084)\
**Post date:** [May 14, 2007, 6:44pm UTC](https://forum.kirupa.com/t/buttons-going-to-wrong-scene/225657/1 "2007-05-14T18:44:47Z")

</div>

Okay, so I have my buttons…and in the actionscript I have them going to diff. scenes…and they go to a scene…but not the ones I want! I have NO clue as to whats going on…I cant attach the zip because its too big…but if anyone has had this problem and knows whats going on…please let me know.

example of script:

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

and instead of going to scene 2…it will go to 5…
