# Scrollpane navigation problem

**URL:** https://forum.kirupa.com/t/scrollpane-navigation-problem/48532
**Category:** flash
**Created:** [April 14, 2004, 1:38pm UTC](https://forum.kirupa.com/t/scrollpane-navigation-problem/48532 "2004-04-14T13:38:33Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![meneer\_huijs](https://avatars.discourse-cdn.com/v4/letter/m/aeb1de/32.png) [@meneer\_huijs](https://forum.kirupa.com/u/meneer_huijs)
#### Post date: [April 14, 2004, 1:38pm UTC](https://forum.kirupa.com/t/scrollpane-navigation-problem/48532/1 "2004-04-14T13:38:33Z")

</div>

[color=black][font=Verdana]Hello, I’m building a website in Flash MX. This site contains a couple of scenes. In one of the scenes I have placed a Scrollpane. In this scrollpane I placed a movieclip which has a button which (when clicked on) should lead to the next scene (or any scene of my choice). When I use this code:[/font][/color]

[color=black][font=Verdana]on (release) {  
gotoAndPlay(“scene 3”, 1);  
}[/font][/color][color=black][/color]

[color=black][font=Verdana]on the button, all that happens is that the movieclip starts playing over again. When I change the code to:[/font][/color]

[color=black][font=Verdana]on (release) {  
\_root.gotoAndPlay(“scene 3”, 1);  
}  
[/font][/color]

[color=black][font=Verdana]Nothing happens, and when I change the code to:[/font][/color]

[color=black][font=Verdana]on (release) {  
\_root.gotoAndPlay(1);  
}[/font][/color]

[color=black][font=Verdana]the flashfile starts playing at Scene 1, frame 1… How can I change the code to jump from within the MC to any scene and frame I want?[/font][/color]

[color=black][font=Verdana]I have built a very simple example of this problem which you can find here:[/font][/color]

[color=black][font=Verdana]h[[color=#000000]ttp://www.merge.nl/probleem[/color]](http://www.merge.nl/probleem)[/font][/color]

[color=black][font=Verdana]and the .fla file can be found here:[/font][/color]

[color=black][font=Verdana][http://www.merge.nl/problem/probleem.fla](http://www.merge.nl/problem/probleem.fla)[/font][/color]
