# How to link button-next scene

**URL:** <https://forum.kirupa.com/t/how-to-link-button-next-scene/20020>\
**Category:** Uncategorized\
**Created:** [May 4, 2003, 3:01am UTC](https://forum.kirupa.com/t/how-to-link-button-next-scene/20020 "2003-05-04T03:01:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vincemx](https://avatars.discourse-cdn.com/v4/letter/v/b4bc9f/32.png) [@Vincemx](https://forum.kirupa.com/u/Vincemx)\
**Post date:** [May 4, 2003, 3:01am UTC](https://forum.kirupa.com/t/how-to-link-button-next-scene/20020/1 "2003-05-04T03:01:42Z")

</div>

does anyone know how to link the button to the next scene so when they click it it goes to scene 4?  
if u can paste me what i type in the actions thank you

---

<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 4, 2003, 3:14am UTC](https://forum.kirupa.com/t/how-to-link-button-next-scene/20020/2 "2003-05-04T03:14:04Z")

</div>

on(release){  
gotoAndPlay(“scene 4”, 1);  
}

That is, if your next scene is named “scene 4”. If your next scene is named “phone” then you’d put in “phone” instead of “scene 4”. The number 1 after the comma is the frame number you’d want that scene to start in. If you put in 5 instead of 1, when you click the button it will go to scene 4 frame 5.

---

<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 4, 2003, 3:15am UTC](https://forum.kirupa.com/t/how-to-link-button-next-scene/20020/3 "2003-05-04T03:15:20Z")

</div>

[http://www.macromedia.com/support/flash/action\_scripts/actionscript\_dictionary/actionscript\_dictionary381.html](http://www.macromedia.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary381.html)

and run a search in the forum… there’s a bug in flash when you use the gotoAndPlay from a Button/MovieClip within a MovieClip. :-\

---

<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 4, 2003, 1:42pm UTC](https://forum.kirupa.com/t/how-to-link-button-next-scene/20020/4 "2003-05-04T13:42:43Z")

</div>

oh ok thanks
