# Linking scenes together

**URL:** <https://forum.kirupa.com/t/linking-scenes-together/9160>\
**Category:** flash\
**Created:** [December 6, 2002, 12:14am UTC](https://forum.kirupa.com/t/linking-scenes-together/9160 "2002-12-06T00:14:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![theshademannn](https://avatars.discourse-cdn.com/v4/letter/t/ee7513/32.png) [@theshademannn](https://forum.kirupa.com/u/theshademannn)\
**Post date:** [December 6, 2002, 12:14am UTC](https://forum.kirupa.com/t/linking-scenes-together/9160/1 "2002-12-06T00:14:05Z")

</div>

Hello,  
I have yet another question. How do I link scenes together. If i have a scene profiles and when i click a button i want to link to profile\_jason, how do I do this?

What do I put into the goto command?

---

<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:** [December 6, 2002, 2:54pm UTC](https://forum.kirupa.com/t/linking-scenes-together/9160/2 "2002-12-06T14:54:39Z")

</div>

I’m not quite sure if I understand you or not, but when one scene ends, if there are more, they will continue to play in order on their own. You can go to modify\>scenes, and drag and drop the scenes into whatever order you want.

But if for some reason you wanted to play them in a different order, you need to give the first frame of each scene a name. Then, you code is:

gotoAndPlay(“sceneName”);
