In actionscript 2, I have the code below attached to a movieclip that causes it to slide in vertically once the page loads. The movieclip is made up of several buttons that each load a .swf (each of those buttons has their own code i.e. onRelease, etc). What I need is a way to stop or "freeze" the onClipEvent when one of the .swfs are loaded, so that it stops moving, and then start it again where in place when it is unloaded. Is this possible?

onClipEvent (load) {
this._y=-300;
endPos = 100;

}

onClipEvent ( enterFrame ) {
currPos = this._y;
diffPos = endPos-currPos;
movePos = diffPos/15;
this._y = this._y+movePos;

}

}