# Flash Buttons problem! please help!

**URL:** https://forum.kirupa.com/t/flash-buttons-problem-please-help/165758
**Category:** Uncategorized
**Created:** [October 13, 2005, 6:46pm UTC](https://forum.kirupa.com/t/flash-buttons-problem-please-help/165758 "2005-10-13T18:46:07Z")
**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: [October 13, 2005, 6:46pm UTC](https://forum.kirupa.com/t/flash-buttons-problem-please-help/165758/1 "2005-10-13T18:46:07Z")

</div>

Ok ive nearly finished my flash site, but im having a problem with the buttons.  
Basically the buttons are movie clips, as i wanted to do more adavnced things which i dont think you can do with buttons.

What i want to happen is when they click on the button (which is a movie clip) It goes to a different scene, for a navigation bar (each scene in the movie is a page on the website). I cant work out how to do thins in a movie clip!!

Here is the code Ive used for the buttons:

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

if(rewind == true){

prevFrame();

}

}
 
this.onRollOver = function(){

rewind = false;
play();

}
 
this.onRollOut = function(){

rewind = true;

}

```

What code could I add to make it go to Scene X on release?

Ill add the .swf and .fla files for the buttons so you know what they look like!
