onClipEvent(enterFrame) problem

Sorry I’m being really thick today…

How can I decide when my animation stops when using this code


onClipEvent(enterFrame) {
	this._x-=35;
}

Any idea?

Yossi