# One mc on, the other off

**URL:** https://forum.kirupa.com/t/one-mc-on-the-other-off/11929
**Category:** Uncategorized
**Created:** [January 24, 2003, 1:16am UTC](https://forum.kirupa.com/t/one-mc-on-the-other-off/11929 "2003-01-24T01:16:25Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![LoungeActx](https://avatars.discourse-cdn.com/v4/letter/l/71c47a/32.png) [@LoungeActx](https://forum.kirupa.com/u/LoungeActx)
#### Post date: [January 24, 2003, 1:16am UTC](https://forum.kirupa.com/t/one-mc-on-the-other-off/11929/1 "2003-01-24T01:16:25Z")

</div>

I have a navigation system, that has a bunch of buttons.

When you rollover a button a movie clip fades in, and when you rollout the movie clip fades out.

My question is…

how do i make sure that when you roll off of one button the movie clip fades out…and doesn’t stay…because that happens somtimes…

i have posted my .fla so you guys know what i’m talking about.

---

<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: [February 8, 2003, 9:24pm UTC](https://forum.kirupa.com/t/one-mc-on-the-other-off/11929/2 "2003-02-08T21:24:50Z")

</div>

For that type of effect, I usually use the hittest function.  
While the hittest is true, it goes forward, when false play it backwards.

I think the problem in your fla is that there is a stop on frame 4 of your animations, you are rolling off the button before it hits frame 4, maybe your button’s should be gotoandplay(4) instead of just play.

---

<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: [February 8, 2003, 10:22pm UTC](https://forum.kirupa.com/t/one-mc-on-the-other-off/11929/3 "2003-02-08T22:22:04Z")

</div>

thanks!
