# Linking to a diff scene

**URL:** <https://forum.kirupa.com/t/linking-to-a-diff-scene/90125>\
**Category:** Uncategorized\
**Created:** [May 14, 2005, 9:02pm UTC](https://forum.kirupa.com/t/linking-to-a-diff-scene/90125 "2005-05-14T21:02:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MetteBB](https://avatars.discourse-cdn.com/v4/letter/m/ebca7d/32.png) [@MetteBB](https://forum.kirupa.com/u/MetteBB)\
**Post date:** [May 14, 2005, 9:02pm UTC](https://forum.kirupa.com/t/linking-to-a-diff-scene/90125/1 "2005-05-14T21:02:20Z")

</div>

[font=Trebuchet MS]Hi guys and gals…[/font]

[font=Trebuchet MS]I am working on a project which is basically a virtual tour of a house. Each room I have made on seperate scenes, some rooms are on more than one scene (diff view points) and some room have a panoramic effect (these are the ones causing the problems).[/font]

[font=Trebuchet MS]To accheive the panoramic scrolling I have made the room as a mC. Inside the mC I have buttons which should link to other scenes… ‘enter the problem’.[/font]

[font=Trebuchet MS]how do I link to another scene from in there? I have tried : [/font]  
[font=Trebuchet MS][color=navy]

```auto
[/color][/font]
[font=Trebuchet MS][color=navy]on (press){[/color][/font]
[font=Trebuchet MS][color=navy] gotoAndPlay("SceneName",frame);[/color][/font]
[font=Trebuchet MS][color=navy] }

```

[/color][/font]  
[font=Trebuchet MS][color=black]and this[/color][/font]  
[font=Trebuchet MS][color=navy]

```auto
[/color][/font]
[font=Trebuchet MS][color=navy]on(press){[/color][/font]
[font=Trebuchet MS][color=navy]gotoAndPlay(this."sceneName",frame);[/color][/font]
[font=Trebuchet MS][color=navy]}

```

[/color][/font]  
[font=Trebuchet MS]and this[/font]  
[font=Trebuchet MS][color=darkslateblue]

```auto
[/color][/font]
[font=Trebuchet MS][color=darkslateblue]on(press){[/color][/font]
[font=Trebuchet MS][color=darkslateblue]gotoAndPlay(this."sceneName".frame);[/color][/font]
[font=Trebuchet MS][color=darkslateblue]}

```

[/color][/font]  
[font=Trebuchet MS]and this[/font]  
[font=Trebuchet MS][color=darkslateblue]

```auto
[/color][/font]
[font=Trebuchet MS][color=darkslateblue]on(press){[/color][/font]
[font=Trebuchet MS][color=darkslateblue]gotoAndPlay(this.sceneName.frame);[/color][/font]
[font=Trebuchet MS][color=darkslateblue]}

```

[/color][/font]  
[font=Trebuchet MS]and this[/font]  
[font=Trebuchet MS][color=darkslateblue]

```auto
[/color][/font]
[font=Trebuchet MS][color=darkslateblue]on(press){[/color][/font]
[font=Trebuchet MS][color=darkslateblue]gotoAndPlay(._root."sceneName",frame);[/color][/font]
[font=Trebuchet MS][color=darkslateblue]}

```

[/color][/font]  
[font=Trebuchet MS]etc etc[/font]

[font=Trebuchet MS]I am (obviosly) no expert on ActionScript, and I havent been able to get the right ‘combination’… so can anyone help me? …please[/font]

[font=Trebuchet MS]With the options I haev tried I keep getting different error mistakes and I can’t really figure out whats wrong. I have been trying for a week and a half and I’m just not getting any positive results…[/font]

[font=Trebuchet MS]Please please please… If you have an idea as to how I can do this I would love to hear from you![/font]

[font=Trebuchet MS]/mette[/font]
