Hi
I have a “strange” problem with a fade function, which I hope someone here can help me solve?!
My Function looks like this:
function fadeIn() {
mcBack.onEnterFrame = function() {
mcBack._alpha += 10;
};
if (mcBack._alpha >= 100) {
delete mcBack.onEnterFrame;
trace(“deleted”);
}
}
I want to be able to delete the function, when _alpha is 100 - but as the function is now, I am not able get the trace(“deleted”) to work… Am I going about this in the wrong way??
Thanks in advance