only recently started using action script and i have hit a wall of sorts.
on my brief research i have managed to put together the code:

onClipEvent(load){
this._alpha = 0;
}
onClipEvent(enterFrame){
setInterval(function(mc){
if(mc._alpha<100){
mc._alpha += 3;
}
clearInterval();
}
,2000, this);

setInterval(function(mc2){
if(mc2._alpha>0){
mc2._alpha -= 10;
}
clearInterval();
}
,5000, this);
}

this gets my mc to fade in, wait, then fade out. however once the alpha gets back to 0 the two if loops conflict an my mc starts flickering.
can anyone help me out with a solution.
thanks in advance.