# Button control issues. tellTarget, etc

**URL:** https://forum.kirupa.com/t/button-control-issues-telltarget-etc/188542
**Category:** flash
**Created:** [May 8, 2006, 9:05pm UTC](https://forum.kirupa.com/t/button-control-issues-telltarget-etc/188542 "2006-05-08T21:05:09Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![zcode7](https://avatars.discourse-cdn.com/v4/letter/z/dc4da7/32.png) [@zcode7](https://forum.kirupa.com/u/zcode7)
#### Post date: [May 8, 2006, 9:05pm UTC](https://forum.kirupa.com/t/button-control-issues-telltarget-etc/188542/1 "2006-05-08T21:05:09Z")

</div>

Hello everybody,

I’m having a problem with a site i’m designing in Flash 8. The way that the site is setup is a symbol at the top (the “navigation bar”) that is defined as a button. Inside of this symbol are 5 actual buttons used to change scenes. Each scene is a different portion of the website. Here is the problem. I put the following ActionScript into each button:

```auto

on(release){
    tellTarget("/") {

    
_root.gotoAndPlay("scenethree");
}
}

```

Each button obviously has a different frame label in it. But the problem is that when I press a button twice, lets say the scene 4 button, it will take me to scene 4 when I press it the first time, than scene five when I press it the second time. Then the thirid time it will take me back to scene 4. I just need it to stay on one scene no matter how many times it is pressed.

Thanks in advance for replies!  
Zach:trout:
