Please, help on Dynamic Event Handlers

Hi thr!

This is what I have:

1 movieclip with the following script on it:

onClipEvent (load) {
divalpha = 5;
_alpha = 0
}
onClipEvent (enterFrame) {

if (this._parent.barra_nav1._x <=350) {
	_alpha += (endalpha-_alpha)/divalpha;
	endalpha = 100
}

}

Which means that my mc wait till other movie (barra) reaches a certain point and then fades in.

What I need to accomplish:

I need that after this “marvelous” :b: fading in, if the user rollover the mc it fades back to 20% alpha using the same formula and fades back to 100% when the user rollout.

As I´ve declared in the enterFrame that the alpha is equal to 100% I´m not getting the results I need.

Ive been searching for tutorials on Dynamic Event handlers with no results but I’m sure there most be a way to overwrite the first enterFrame… :hangover:

HELP PLEASE!!!

Thx in adcvance