# Instead of jumping to scene 2, scene 1 just replays from start

**URL:** <https://forum.kirupa.com/t/instead-of-jumping-to-scene-2-scene-1-just-replays-from-start/117890>\
**Category:** Uncategorized\
**Created:** [July 31, 2004, 12:19pm UTC](https://forum.kirupa.com/t/instead-of-jumping-to-scene-2-scene-1-just-replays-from-start/117890 "2004-07-31T12:19:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jaco](https://avatars.discourse-cdn.com/v4/letter/j/73ab20/32.png) [@Jaco](https://forum.kirupa.com/u/Jaco)\
**Post date:** [July 31, 2004, 12:19pm UTC](https://forum.kirupa.com/t/instead-of-jumping-to-scene-2-scene-1-just-replays-from-start/117890/1 "2004-07-31T12:19:38Z")

</div>

hi. got a problem and need an answer ASAP! i’ve got a button on scene 1 and want it to be linked to scene 2. but everytime you release button, scene 1 just replays from start! the action ive got for the button is -

on (release) {  
gotoAndPlay(“scene2”, 1);

ive linked scenes before and im sure i had the exact same script. plz help!  
thanks, jaco.

---

<div class="post-metadata">

**Author:** ![ViNc3](https://avatars.discourse-cdn.com/v4/letter/v/b487fb/32.png) [@ViNc3](https://forum.kirupa.com/u/ViNc3)\
**Post date:** [August 1, 2004, 12:48am UTC](https://forum.kirupa.com/t/instead-of-jumping-to-scene-2-scene-1-just-replays-from-start/117890/2 "2004-08-01T00:48:44Z")

</div>

There’s probably a bug somewhere in there. Maybe you could attach your fla?

---

<div class="post-metadata">

**Author:** ![The\_Vulcan](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/the_vulcan/32/145_2.png) [@The\_Vulcan](https://forum.kirupa.com/u/The_Vulcan)\
**Post date:** [August 1, 2004, 1:57am UTC](https://forum.kirupa.com/t/instead-of-jumping-to-scene-2-scene-1-just-replays-from-start/117890/3 "2004-08-01T01:57:10Z")

</div>

I used to have the same problems back when I used scenes…

Here is code I know works…  
it is on a **button instance**.

```php
on (press){
	gotoAndPlay("homeopen",1);
}

```

(scenes are not good, but thats not the point here)

---

<div class="post-metadata">

**Author:** ![ViNc3](https://avatars.discourse-cdn.com/v4/letter/v/b487fb/32.png) [@ViNc3](https://forum.kirupa.com/u/ViNc3)\
**Post date:** [August 1, 2004, 2:12am UTC](https://forum.kirupa.com/t/instead-of-jumping-to-scene-2-scene-1-just-replays-from-start/117890/4 "2004-08-01T02:12:30Z")

</div>

> [@The\_Vulcan](#):
>
> I used to have the same problems back when I used scenes…
> 
> Here is code I know works…  
> it is on a **button instance**.
> 
> ```php
> on (press){
> gotoAndPlay("homeopen",1);
> }
> 
> ```

where [color=red]_homeopen_[/color] is the name if your scene?

---

<div class="post-metadata">

**Author:** ![The\_Vulcan](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/the_vulcan/32/145_2.png) [@The\_Vulcan](https://forum.kirupa.com/u/The_Vulcan)\
**Post date:** [August 1, 2004, 2:18am UTC](https://forum.kirupa.com/t/instead-of-jumping-to-scene-2-scene-1-just-replays-from-start/117890/5 "2004-08-01T02:18:07Z")

</div>

Yep…

I always renamed the scenes… just make sure when you rename them you dont make no spelling mistakes when calling them.
