# Fade in/out mc's

**URL:** <https://forum.kirupa.com/t/fade-in-out-mcs/171952>\
**Category:** Uncategorized\
**Created:** [December 9, 2005, 2:49pm UTC](https://forum.kirupa.com/t/fade-in-out-mcs/171952 "2005-12-09T14:49:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![saveth](https://avatars.discourse-cdn.com/v4/letter/s/7c8e57/32.png) [@saveth](https://forum.kirupa.com/u/saveth)\
**Post date:** [December 9, 2005, 2:49pm UTC](https://forum.kirupa.com/t/fade-in-out-mcs/171952/1 "2005-12-09T14:49:19Z")

</div>

Ok, I’ve searched the forums and a couple others for an example of how to do this and have come up empty handed.

I have one mc called iquality  
Inside this I have to mc’s called iqualityactive\_mc and iqualityinactive\_mc  
applied to those two mc’s is a script that fades one in and fades one out

iqualityactive\_mc

```auto

onClipEvent (enterFrame) {
	if (this._alpha<100) {
		this._alpha += 2;
	}
}

```

iqualityinactive\_mc

```auto

onClipEvent (enterFrame) {
	if (this._alpha>0) {
		this._alpha -= 2;
	}
}

```

My question is how do I get it to do the samething but in reverse after it is done?
