# Buttons

**URL:** <https://forum.kirupa.com/t/buttons/147449>\
**Category:** Uncategorized\
**Created:** [May 10, 2005, 7:13pm UTC](https://forum.kirupa.com/t/buttons/147449 "2005-05-10T19:13:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![leanback](https://avatars.discourse-cdn.com/v4/letter/l/c5a1d2/32.png) [@leanback](https://forum.kirupa.com/u/leanback)\
**Post date:** [May 10, 2005, 7:13pm UTC](https://forum.kirupa.com/t/buttons/147449/1 "2005-05-10T19:13:54Z")

</div>

Hi there this is a really silly question but it is bugging me.

I am creating a movie which is in steps. At the bottom of the each of the scenes I have the following buttons : step 1(scene1), step 2(scene 2), step 3(scene 3), step 4 (scene 4), and step 5(scene 5), ie the scenes corespond to the steps.

When I go from step one to step 2 the button works ok but when I want to go from say step 2 to step one the code doesnt work instead it goes to step 3.

There are 5 scenes in the movie and the forward script for the buttons work but when I add the script for the back buttons it goes to the next scene instead rather than backwards. I was wondering could anyone suggest what the problem is: below is the typical code I use

on (release) {  
gotoAndPlay(‘Scene 2’);  
}

Thanks  
Leanback
