# Buttons

**URL:** https://forum.kirupa.com/t/buttons/43333
**Category:** Uncategorized
**Created:** [February 21, 2004, 3:17am UTC](https://forum.kirupa.com/t/buttons/43333 "2004-02-21T03:17:02Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![ducky](https://avatars.discourse-cdn.com/v4/letter/d/258eb7/32.png) [@ducky](https://forum.kirupa.com/u/ducky)
#### Post date: [February 21, 2004, 3:17am UTC](https://forum.kirupa.com/t/buttons/43333/1 "2004-02-21T03:17:02Z")

</div>

I am trying to create a button that is contained within a tween; is this possible? I can’t seem to get it right.

Hmmm…

ok, I have a tween where a button is blinking from transparent to visible…and on the button I have this script:

on (rollOver) {  
tellTarget ("/rollover") {  
gotoAndPlay (“1text”);  
}  
}  
on (rollOut) {  
tellTarget ("/rollover") {  
gotoAndPlay (“1back”);  
}  
}

I’ve done this before, but last time the buttons were not on tweens, so now I’m having problems.

also, at the end of tween i have this script.

gotoAndPlay(72);

So that the button will keep blinking. Not sure if this affects anything at all…need help!
