# Changing Scene?

**URL:** https://forum.kirupa.com/t/changing-scene/21658
**Category:** flash
**Created:** [May 24, 2003, 4:22pm UTC](https://forum.kirupa.com/t/changing-scene/21658 "2003-05-24T16:22:17Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![bubblegum](https://avatars.discourse-cdn.com/v4/letter/b/f08c70/32.png) [@bubblegum](https://forum.kirupa.com/u/bubblegum)
#### Post date: [May 24, 2003, 4:22pm UTC](https://forum.kirupa.com/t/changing-scene/21658/1 "2003-05-24T16:22:17Z")

</div>

Hi,  
I know this might be a bit basic, but i have never done this before…😛

i’m having troubles changing scene on Flash mx, whenever i click the button it goes to scene 2, and then back to scene 1 and repeats over and over again 🔗

can anyone tell me the correct action script i should be using =) … or give me a link to any tutorial that explain how to do this…=)

Thanks :bounce:

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [May 24, 2003, 4:24pm UTC](https://forum.kirupa.com/t/changing-scene/21658/2 "2003-05-24T16:24:06Z")

</div>

Add a stop() action on the last frame of your scene so it doesn’t loop around.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [May 24, 2003, 4:27pm UTC](https://forum.kirupa.com/t/changing-scene/21658/3 "2003-05-24T16:27:34Z")

</div>

Hi,

I’m kind of a newb myself so someone correct me if I’m wrong but I think you can either do a

gotoAndStop(_Scene2 name_);

or

gotoAndPlay(_Scene2 name_);

and put a stop(); on the first frame of Scene 2.

Either one should work.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [May 24, 2003, 4:30pm UTC](https://forum.kirupa.com/t/changing-scene/21658/4 "2003-05-24T16:30:35Z")

</div>

Dang! The very first time I ever get to actually help someone and I get beat to it! LOL!

😛
