# Simple fading gone wrong

**URL:** <https://forum.kirupa.com/t/simple-fading-gone-wrong/249366>\
**Category:** Uncategorized\
**Created:** [January 17, 2008, 11:40pm UTC](https://forum.kirupa.com/t/simple-fading-gone-wrong/249366 "2008-01-17T23:40:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jerry1](https://avatars.discourse-cdn.com/v4/letter/j/8c91f0/32.png) [@Jerry1](https://forum.kirupa.com/u/Jerry1)\
**Post date:** [January 17, 2008, 11:40pm UTC](https://forum.kirupa.com/t/simple-fading-gone-wrong/249366/1 "2008-01-17T23:40:34Z")

</div>

m trying to create an overlay to a button which fades in when rolled ofer and out when roledout . Ive got a compact function which takes the hassle out of determining weather to fade in or out but theyres a problem .

It works beautfully but when i try to use it anywhere else the other instances start fading aswell ?

here is my swf/fla , appricatre some help in fixing this
