onClipEvent (load){
this._x = 10;
}
onClipEvent (enterFrame) {
if (this._x<=625)
this._x = this._x+5;
}
else {
this._x = 10;
}
}
What that tells Flash is that in all other conditions, when this._x is not less than or equal to 625, then this._x needs to return to x coordinate 10, taking the movie clip symbol back where it started.
You can see mine sliding across the screen here.


