# Flash buttons with connected animations in Flash MX

**URL:** <https://forum.kirupa.com/t/flash-buttons-with-connected-animations-in-flash-mx/6572>\
**Category:** flash\
**Created:** [October 10, 2002, 6:08pm UTC](https://forum.kirupa.com/t/flash-buttons-with-connected-animations-in-flash-mx/6572 "2002-10-10T18:08:44Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![luster](https://avatars.discourse-cdn.com/v4/letter/l/ec9cab/32.png) [@luster](https://forum.kirupa.com/u/luster)\
**Post date:** [October 10, 2002, 6:08pm UTC](https://forum.kirupa.com/t/flash-buttons-with-connected-animations-in-flash-mx/6572/1 "2002-10-10T18:08:44Z")

</div>

I’m having a problam in Flash MX.  
i want to make an oval shaped button that moves from the left to tehe right on the movie, but if you hit it, it must slowly go down to the bottom of the Flash movie, and maybe if it sinks, also a color change or something.

Please answer!!!

---

<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:** [October 10, 2002, 6:19pm UTC](https://forum.kirupa.com/t/flash-buttons-with-connected-animations-in-flash-mx/6572/2 "2002-10-10T18:19:40Z")

</div>

Hey,

Do you want to program or tween it?

---

<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:** [October 10, 2002, 6:42pm UTC](https://forum.kirupa.com/t/flash-buttons-with-connected-animations-in-flash-mx/6572/3 "2002-10-10T18:42:51Z")

</div>

It doesn’t matters whether it is programmed or tweened (but i prefer tweening) . If you can solve it, please tell me how to solve my problem.

PLEASE !!!

---

<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:** [October 11, 2002, 6:07pm UTC](https://forum.kirupa.com/t/flash-buttons-with-connected-animations-in-flash-mx/6572/4 "2002-10-11T18:07:15Z")

</div>

Why does no one answers my question?

---

<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:** [October 11, 2002, 7:45pm UTC](https://forum.kirupa.com/t/flash-buttons-with-connected-animations-in-flash-mx/6572/5 "2002-10-11T19:45:20Z")

</div>

OK, sorry for the late answer. Put that kind of code on your instance of the clip:

```auto
on (press) {this._y=380;}

```

You can change the 380 to anything that suits your needs.

Cheers.

pom 🙂

---

<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:** [October 12, 2002, 3:51pm UTC](https://forum.kirupa.com/t/flash-buttons-with-connected-animations-in-flash-mx/6572/6 "2002-10-12T15:51:38Z")

</div>

thanks for the answer!
