# Fade to Black

**URL:** <https://forum.kirupa.com/t/fade-to-black/24430>\
**Category:** flash\
**Created:** [June 30, 2003, 7:41pm UTC](https://forum.kirupa.com/t/fade-to-black/24430 "2003-06-30T19:41:30Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![AmyDor](https://avatars.discourse-cdn.com/v4/letter/a/3e96dc/32.png) [@AmyDor](https://forum.kirupa.com/u/AmyDor)\
**Post date:** [June 30, 2003, 7:41pm UTC](https://forum.kirupa.com/t/fade-to-black/24430/1 "2003-06-30T19:41:30Z")

</div>

How can I fade a MC to black? I know how to change the alpha. I guess I need to chnage the tint to black or any suggestions to get an orange colored MC to fade to Black.

Thanks in advance

:love:

---

<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:** [June 30, 2003, 7:53pm UTC](https://forum.kirupa.com/t/fade-to-black/24430/2 "2003-06-30T19:53:08Z")

</div>

On the first key frame, have your MC tinted orange or whatever color you wanted and on the next keyframe, have your MC black. Tween it and it will fade to black.

Here is a sample FLA. =)

---

<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:** [June 30, 2003, 7:55pm UTC](https://forum.kirupa.com/t/fade-to-black/24430/3 "2003-06-30T19:55:02Z")

</div>

Can you do that with an AS?

---

<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:** [June 30, 2003, 7:57pm UTC](https://forum.kirupa.com/t/fade-to-black/24430/4 "2003-06-30T19:57:52Z")

</div>

You sure can, but you’ll have to wait for the scripting Gurus to see this thread. I barely mastered the stop(); action last week. 😛

---

<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:** [June 30, 2003, 8:02pm UTC](https://forum.kirupa.com/t/fade-to-black/24430/5 "2003-06-30T20:02:33Z")

</div>

OK. Thanks

---

<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:** [June 30, 2003, 8:12pm UTC](https://forum.kirupa.com/t/fade-to-black/24430/6 "2003-06-30T20:12:25Z")

</div>

Here you go, just tell me if you don’t understand anything(-:

---

<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:** [June 30, 2003, 8:26pm UTC](https://forum.kirupa.com/t/fade-to-black/24430/7 "2003-06-30T20:26:55Z")

</div>

When I try to open the fla I get …unexpected format.

---

<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:** [June 30, 2003, 8:48pm UTC](https://forum.kirupa.com/t/fade-to-black/24430/8 "2003-06-30T20:48:45Z")

</div>

Am I the only one having problems with this fla?

---

<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:** [June 30, 2003, 8:49pm UTC](https://forum.kirupa.com/t/fade-to-black/24430/9 "2003-06-30T20:49:59Z")

</div>

I just looked at it too and got the same error which is strange. I’m using MX too.

---

<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:** [July 1, 2003, 4:29pm UTC](https://forum.kirupa.com/t/fade-to-black/24430/10 "2003-07-01T16:29:02Z")

</div>

I’m not sure why it didn’t work. I’ll try attaching it again, and if that doesn’t work, here’s the code:

[AS]  
//replace all the occurences of my\_mc with the name of your  
//movieclip and the fadeMC.\_x and \_y values with the \_x and \_y  
//values of your clip.  
createEmptyMovieClip(“fadeMC”,1000)  
fadeMC.\_alpha = 0  
with(fadeMC){  
beginFill(0x000000)  
lineTo(my\_mc.\_width,0)  
lineTo(my\_mc.\_width,my\_mc.\_height)  
lineTo(0,my\_mc.\_height)  
lineTo(0,0)  
endFill()  
//the above code draws the black box which is going to fade.  
}

\_root.fadeMC.\_x = 214.8  
\_root.fadeMC.\_y = 179.7  
fadeMC.onEnterFrame = function(){  
fadeMC.\_alpha += 5  
//this can change. if you want a faster fade, change it to 20, for  
//example.  
if(fadeMC.\_alpha \> 100){  
delete fadeMC.onEnterFrame  
}  
}  
[/AS]
