# Color change on mouse over

**URL:** <https://forum.kirupa.com/t/color-change-on-mouse-over/2643>\
**Category:** flash\
**Created:** [May 19, 2002, 12:57am UTC](https://forum.kirupa.com/t/color-change-on-mouse-over/2643 "2002-05-19T00:57:40Z")\
**Posts on this page:** 3\
**Page:** 1

<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:** [May 19, 2002, 12:57am UTC](https://forum.kirupa.com/t/color-change-on-mouse-over/2643/1 "2002-05-19T00:57:40Z")

</div>

I am new to actionscripting and wanted to know how I can create a button that when I mouse over it the color changes from say blue to red. Except that it doesn’t just change color it would change color as if it was in a motiontween, gradually from blue to red, instead of just changing color.  
Thanks williamwright

---

<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:** [May 19, 2002, 8:54am UTC](https://forum.kirupa.com/t/color-change-on-mouse-over/2643/2 "2002-05-19T08:54:43Z")

</div>

That’s very hard to do with Actionscript, William. Would be better if the mouseover just made a tween motion start, if you see what I mean.  
You’d have a button inside a movie clip that has a stop action in the first frame, and the something like this on the button :

```auto
 on (rollOver) {play ();}

```

pom 0]

---

<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:** [May 19, 2002, 10:49pm UTC](https://forum.kirupa.com/t/color-change-on-mouse-over/2643/3 "2002-05-19T22:49:25Z")

</div>

very easy to do without actionscript, WilliamWright. If you havent figured it out yet… let me know.
