# When scene changes forgot what i did HELP NEEDED

**URL:** <https://forum.kirupa.com/t/when-scene-changes-forgot-what-i-did-help-needed/287087>\
**Category:** flash\
**Created:** [April 25, 2009, 11:23pm UTC](https://forum.kirupa.com/t/when-scene-changes-forgot-what-i-did-help-needed/287087 "2009-04-25T23:23:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![benmutlu](https://avatars.discourse-cdn.com/v4/letter/b/2acd7d/32.png) [@benmutlu](https://forum.kirupa.com/u/benmutlu)\
**Post date:** [April 25, 2009, 11:23pm UTC](https://forum.kirupa.com/t/when-scene-changes-forgot-what-i-did-help-needed/287087/1 "2009-04-25T23:23:26Z")

</div>

Hello, i have a problem with scenes. Im trying to explain what i did.

I have 2 scenes , scene1 and scene2

in Scene1 i have 5 buttons, but1, but2, but3, but4, but5

AS for but1 = on (press) { but1.\_visible = false; gotoAndPlay(“Scene2”,1)  
//i have same codes for all buttons.

I have 1 more button on Scene2 called BACK , when i press BACK ( AS = gotoAndPlay(“Scene1”,1) , its goes scene1 BUT FORGOTS BUTTON WHICH I CLICKED !

how can i fix it ?
