WHAT IS WRONG WITH ME!!??
OK, trying to fade out a button through a function. I’ve done this before but I’m tired and it’s just not happening.
OK, there’s a button named “button” and a movieclip named “fadeThis”. The first frame of the root has the following code in it:
fading = function(image) {
_root[image]._alpha -= 5;
}
And the button, “button”, has the following code in it:
on (release) {
fader = setInterval(_root.fading,10,fadeThis);
}
So WHY does the function fade the entire screen (“fadeThis” AND “button”)??
Thanks