# Jumping between scenes

**URL:** https://forum.kirupa.com/t/jumping-between-scenes/23670
**Category:** flash
**Created:** [June 20, 2003, 8:31pm UTC](https://forum.kirupa.com/t/jumping-between-scenes/23670 "2003-06-20T20:31:24Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![ShogunWarrior](https://avatars.discourse-cdn.com/v4/letter/s/7cd45c/32.png) [@ShogunWarrior](https://forum.kirupa.com/u/ShogunWarrior)
#### Post date: [June 20, 2003, 8:31pm UTC](https://forum.kirupa.com/t/jumping-between-scenes/23670/1 "2003-06-20T20:31:24Z")

</div>

How can you switch between scenes by f.e. pressing a button  
I thought of using loadMovie but then I have several .swf files and I’d like everything in 1 swf file  
Can anyone help me ?  
Thx :player:

---

<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: [June 20, 2003, 11:07pm UTC](https://forum.kirupa.com/t/jumping-between-scenes/23670/2 "2003-06-20T23:07:01Z")

</div>

when chanign scenes you do not load movies you just change scenes like on click gotoAndPlay “scene name”, “frame number” or something like that i dont member havent used scenes in a loooooooooooong time

---

<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: [June 21, 2003, 12:20am UTC](https://forum.kirupa.com/t/jumping-between-scenes/23670/3 "2003-06-21T00:20:47Z")

</div>

Scenes are evil. Go the loadMovie() route.

Well unless you want to force people to download the weight of 7 .swf files full of content they may or may not view :-\

---

<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: [June 21, 2003, 11:14am UTC](https://forum.kirupa.com/t/jumping-between-scenes/23670/4 "2003-06-21T11:14:49Z")

</div>

Yeah I thought about using loadMovie but I’d like everything in 1 swf .Is it possible to get everything in 1 swf ?  
The reason I want this is because I’m making a

---

<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: [June 21, 2003, 11:15am UTC](https://forum.kirupa.com/t/jumping-between-scenes/23670/5 "2003-06-21T11:15:54Z")

</div>

Yeah I thought about using loadMovie but I’d like everything in 1 swf .Is it possible to get everything in 1 swf ?  
The reason I want this is because I’m making a game and if you like f.e. mail it to someone, I’d like it to be just 1 swf file.

---

<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: [June 21, 2003, 3:52pm UTC](https://forum.kirupa.com/t/jumping-between-scenes/23670/6 "2003-06-21T15:52:30Z")

</div>

You fit everything into one movie by using scenes as you said, but that’s inefficient. But if thats what you need to do :-\

You can go to different scenes more effectively by giving the frames frame labels (right click on the frame and open the properties panel) then targeting those frame labels via gotoAndPlay(“frameLabelToGoTo”) (quotes important)

---

<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: [June 22, 2003, 12:31am UTC](https://forum.kirupa.com/t/jumping-between-scenes/23670/7 "2003-06-22T00:31:10Z")

</div>

OK I’ll try it  
Thx for the advice man :beam:

---

<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: [June 22, 2003, 12:41am UTC](https://forum.kirupa.com/t/jumping-between-scenes/23670/8 "2003-06-22T00:41:12Z")

</div>

No problem 🙂
