# Button Downstate with motion?

**URL:** <https://forum.kirupa.com/t/button-downstate-with-motion/10052>\
**Category:** flash\
**Created:** [December 23, 2002, 2:31pm UTC](https://forum.kirupa.com/t/button-downstate-with-motion/10052 "2002-12-23T14:31:48Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![NicoVB](https://avatars.discourse-cdn.com/v4/letter/n/34f0e0/32.png) [@NicoVB](https://forum.kirupa.com/u/NicoVB)\
**Post date:** [December 23, 2002, 2:31pm UTC](https://forum.kirupa.com/t/button-downstate-with-motion/10052/1 "2002-12-23T14:31:48Z")

</div>

Can you add motion tween on a downstate event in flash? So the changing of color of button appeares fluently.

---

<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:** [December 23, 2002, 2:36pm UTC](https://forum.kirupa.com/t/button-downstate-with-motion/10052/2 "2002-12-23T14:36:01Z")

</div>

edit

---

<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:** [December 23, 2002, 2:36pm UTC](https://forum.kirupa.com/t/button-downstate-with-motion/10052/3 "2002-12-23T14:36:26Z")

</div>

Yes you can!

You can on several way’s. Here is the easiest…

---

<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:** [December 23, 2002, 3:39pm UTC](https://forum.kirupa.com/t/button-downstate-with-motion/10052/4 "2002-12-23T15:39:39Z")

</div>

No, I mean MOTION TWEEN!!!

So IN a downstate Keyframe another MOTION TWEEN.

## second question:

==\> Can you set a style for after you clicked on a button???

---

<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:** [December 23, 2002, 5:57pm UTC](https://forum.kirupa.com/t/button-downstate-with-motion/10052/5 "2002-12-23T17:57:48Z")

</div>

yah…just put a keyframe in your downstate… make the button a movie clip, then double-click to go into symbol-editing mode. Then you can animate it how ever you want… the possibilities are endless ::beam:

---

<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:** [December 23, 2002, 6:15pm UTC](https://forum.kirupa.com/t/button-downstate-with-motion/10052/6 "2002-12-23T18:15:04Z")

</div>

Just curious:  
what would the AS be to do the same thing - to tint change, but without using any tweening?

---

<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:** [December 23, 2002, 7:24pm UTC](https://forum.kirupa.com/t/button-downstate-with-motion/10052/7 "2002-12-23T19:24:42Z")

</div>

Thanks for info about that.

## But folowing problem:

Can you set a style for after you clicked on a button???

So the state remains the same.???

---

<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:** [December 24, 2002, 10:23am UTC](https://forum.kirupa.com/t/button-downstate-with-motion/10052/8 "2002-12-24T10:23:07Z")

</div>

What do you have to do then?

---

<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:** [December 25, 2002, 12:15am UTC](https://forum.kirupa.com/t/button-downstate-with-motion/10052/9 "2002-12-25T00:15:47Z")

</div>

Nico\>\> What kind of style?  
Jc\>\> Check the Color object and the setRGB method 🙂

---

<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:** [December 25, 2002, 8:57am UTC](https://forum.kirupa.com/t/button-downstate-with-motion/10052/10 "2002-12-25T08:57:17Z")

</div>

4 lines have to be painted white and a rectangle has to have a specific backcolor.

That is exactly the downstate of the object.

But I think I’ll make the button a graphic and I will edit him so it reflects the downstate from the original button.
