# Plz help

**URL:** <https://forum.kirupa.com/t/plz-help/5608>\
**Category:** flash\
**Created:** [September 17, 2002, 2:59pm UTC](https://forum.kirupa.com/t/plz-help/5608 "2002-09-17T14:59:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![joso](https://avatars.discourse-cdn.com/v4/letter/j/b3f665/32.png) [@joso](https://forum.kirupa.com/u/joso)\
**Post date:** [September 17, 2002, 2:59pm UTC](https://forum.kirupa.com/t/plz-help/5608/1 "2002-09-17T14:59:18Z")

</div>

hey,  
this is a simple problem, im probably really stupid not to be able to figure it out but, when you apply a certain action to an MC like say :-

onClipEvent (mouseDown) {  
\_root.\_alpha = 50  
}

or something similar, what else do you add to make it gradually fade rather than just straight away as soon as you click? i’ve been puzzling over it and i can’t figure it, i must be stupid or something…

any help would be greatly appreciated 🙂 cheers

---

<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:** [September 17, 2002, 3:26pm UTC](https://forum.kirupa.com/t/plz-help/5608/2 "2002-09-17T15:26:41Z")

</div>

Put this code on the button:

onClipEvent (load) {  
amount = 5;  
go = false;  
count = 0;  
}  
onClipEvent (mouseDown) {  
go = true;  
}  
onClipEvent (enterFrame) {  
if (go && count\<=10) {  
\_alpha -= amount;  
count++;  
}  
}
