# Buttons, buttons, buttons

**URL:** https://forum.kirupa.com/t/buttons-buttons-buttons/7799
**Category:** programming
**Created:** [November 7, 2002, 10:34pm UTC](https://forum.kirupa.com/t/buttons-buttons-buttons/7799 "2002-11-07T22:34:50Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![neg](https://avatars.discourse-cdn.com/v4/letter/n/ecc23a/32.png) [@neg](https://forum.kirupa.com/u/neg)
#### Post date: [November 7, 2002, 10:34pm UTC](https://forum.kirupa.com/t/buttons-buttons-buttons/7799/1 "2002-11-07T22:34:50Z")

</div>

okay, i’m nearly a complete newbie to flash, and although this site has really helped me, i’m interested in making an interface for a site.

okay. let’s say i want buttons that on mouseover would animate, then on mouse off would un-animate themselves back to the original state.

something like that of the menus on [http://www.mjau-mjau.com](http://www.mjau-mjau.com) . the pro websites 🙂

now, the method’s i’ve come up with thus far have been to create a movie clip button that animates, a button that is just a transparent box for hitting area, and a tween on mouseover for the clip. is there any easier fashion to directly ease tweening or tween button animations between states?

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [November 8, 2002, 3:19am UTC](https://forum.kirupa.com/t/buttons-buttons-buttons/7799/2 "2002-11-08T03:19:42Z")

</div>

wow, that’s the fastest my thread has moved down.

/me bumps. whoops.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [November 8, 2002, 11:59pm UTC](https://forum.kirupa.com/t/buttons-buttons-buttons/7799/3 "2002-11-08T23:59:54Z")

</div>

oh well.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [November 9, 2002, 2:53am UTC](https://forum.kirupa.com/t/buttons-buttons-buttons/7799/4 "2002-11-09T02:53:01Z")

</div>

if you’re a newbie to flash actionscript, the button motion of that site may not be the first thing you want to tackle. There are several ways you can go about motion on rollover. The old way (and still viable), was to:

1. draw something on screen.
2. convert to graphic
3. convert to button
4. dbl click on button
5. create an empty movie clip on over state of button
6. use graphic to create a movie clip of the graphic moving,shrinking, growing, whatever.
7. place the newly created movie inside the over frame of the button in exactly the same spot as your button.
8. open pepsi and enjoy

A new more efficient and flexible way (pardon the simple example)

on(rollover){  
\_root.start=this.\_x;  
this.\_x+=20;  
}

on(rollout){  
this.\_x=\_root.start;  
}

or something like that.

Good luck.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [November 9, 2002, 10:38pm UTC](https://forum.kirupa.com/t/buttons-buttons-buttons/7799/5 "2002-11-09T22:38:45Z")

</div>

thank you so much man 🙂
