# Website navigation / buttons problem

**URL:** <https://forum.kirupa.com/t/website-navigation-buttons-problem/163726>\
**Category:** flash\
**Created:** [September 25, 2005, 4:34pm UTC](https://forum.kirupa.com/t/website-navigation-buttons-problem/163726 "2005-09-25T16:34:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jimp](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/jimp/32/1747_2.png) [@Jimp](https://forum.kirupa.com/u/Jimp)\
**Post date:** [September 25, 2005, 4:34pm UTC](https://forum.kirupa.com/t/website-navigation-buttons-problem/163726/1 "2005-09-25T16:34:03Z")

</div>

ok im having some problems navigating around my website I am creating.

Basically the “buttons” i am using arent actually button instances, they are movie clips with [color=Red]this.onRelease = function(){ [color=Black]to make them work as buttons, so then I can have more complex buttons. The problem is I dont know how to make it go from the current scene to scene x. here is the code i am using for the first frame of the movie clip, which doesnt work (the target scene name is “home”):

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

if(rewind == true){

prevFrame();

}

}
 
this.onRollOver = function(){

rewind = false;
play();

}
 
this.onRollOut = function(){

rewind = true;

}
 
this.onRelease = function(){

 gotoAndPlay("home", 1);

}

```

What am i doing wrong? When i test movie the buttons dont work… can any one help me?

[/color][/color]
