Problem with onEnterFrame. Please help!

Hi,
I have a short movie. In frame 1 some MCs appears on the stage by onEnterFrame and increasing _alpha. In frame 50, I want to zoom on these MCs by AS. The problem is that the fading continues even I have a if condition not to do that. How can I tell the movie stop fading and begin to zoom in frame 50?

thanks

mx-guest2004

you sure your timelines playing through past 50 (no stop action anywhere)? Try checking to see if it’s even reading the script by


onClipEvent(load) {
this._alpha = 0;
}

onClipEvent(enterFrame) {
if(this._currentframe < 50) {
this._alpha += 5;
}
else {
trace("it's reading");
}
}

Sandman9,
The MC’s _alpha goes from 0 to 100 and stops with the MC (_alpha=100) on the stage. No message. I don’t have anything between frame 1 and frame 75. Just a keyframe in frame 1, another one in frame 75 and a MC on the stage. No stop(); .
Strange! isn’t it?

mx-guest2004

More help on this, please?

mx-guest2004