# AS Movieclip Fade Out

**URL:** <https://forum.kirupa.com/t/as-movieclip-fade-out/67028>\
**Category:** flash\
**Created:** [October 12, 2004, 12:48am UTC](https://forum.kirupa.com/t/as-movieclip-fade-out/67028 "2004-10-12T00:48:51Z")\
**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:** [October 12, 2004, 12:48am UTC](https://forum.kirupa.com/t/as-movieclip-fade-out/67028/1 "2004-10-12T00:48:51Z")

</div>

I’m new to the forums and to actionscript.  
I’ve been trying to get a simple fade out of a logo to work.  
I converted the logo to a movieclip called logo\_mc  
I click on the logo\_mc movieclip and insert this actionscript.

onClipEvent (load) {  
if (this.\_alpha\>0) {  
this.\_alpha -= 5;  
}  
}

I have also tried putting the code on the main timeline without any success.

If I understand correctly this should see if the alpha is greater than 0 and if it is it should decrease the value by five increments until it reaches 0.

Thanks for any help
