# Linking Scenes Help

**URL:** <https://forum.kirupa.com/t/linking-scenes-help/207595>\
**Category:** flash\
**Created:** [November 19, 2006, 8:45pm UTC](https://forum.kirupa.com/t/linking-scenes-help/207595 "2006-11-19T20:45:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rgxl](https://avatars.discourse-cdn.com/v4/letter/r/a87d85/32.png) [@Rgxl](https://forum.kirupa.com/u/Rgxl)\
**Post date:** [November 19, 2006, 8:45pm UTC](https://forum.kirupa.com/t/linking-scenes-help/207595/1 "2006-11-19T20:45:36Z")

</div>

Check it, I’m working on this site and I’m having each section in a different Scene in flash…I know how to link them together, but I’m using a different kind of buttons to have a “flashy” rollover…so the gotoandplay() actionscript would be within the movieclip that acts as a button. But, now the buttons wont go to the scene that its targeted to…anyone know what I’m missing? I’d appreciate any help.

This is the actionscript for the buttons.

```auto
stop();
 
this.onEnterFrame = function(){

if(rewind == true){

prevFrame();

}

}
 
this.onRollOver = function(){

rewind = false;
play();

}
 
this.onRollOut = function(){

rewind = true;

}

this.onRelease = function(){
_root.gotoAndPlay("About", "1");
}
 

```
