# Tell target problem

**URL:** <https://forum.kirupa.com/t/tell-target-problem/90087>\
**Category:** Uncategorized\
**Created:** [May 14, 2005, 10:24am UTC](https://forum.kirupa.com/t/tell-target-problem/90087 "2005-05-14T10:24:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![arrogance](https://avatars.discourse-cdn.com/v4/letter/a/3da27b/32.png) [@arrogance](https://forum.kirupa.com/u/arrogance)\
**Post date:** [May 14, 2005, 10:24am UTC](https://forum.kirupa.com/t/tell-target-problem/90087/1 "2005-05-14T10:24:41Z")

</div>

I think I have a small problem u guys can solve.

I have a movie within the movie 3 frames with for example:  
in frame 1 red block  
in frame 2 blue block  
in frame 3 green block  
and also on every frame a script with: stop();

And I have 2 buttons:  
On button one i have the following script:  
on (press) {  
tellTarget (“website”){  
gotoAndPlay (1);  
}  
}

On button two i have the following script:  
on (press) {  
tellTarget (“website”){  
gotoAndPlay (2);  
}  
}

My problem is that when I click twice on a button it changes to the next color.
