Infinite scroll problem

Alrighty, I used parts of the infinite menu tutorial to make a vertical scroll bar of pictures, the only problem is a gap between the start and end of the clip. I’ve played with the values for it, and I just can’t seem to get it right, I’d appreciate any help with this.

Here’s the .fla

Thanks in advance.

-Ryan

onClipEvent (load) {
	ycenter = 238;
	speed = 1/20;
}
onClipEvent (enterFrame) {
	var distance = _root._xmouse-ycenter;
	this.y = (distance*speed);
	this._y+this.y<-700 ? this._y=0 : this._y+this.y>0 ? this._y=-700 : this._y += this.y;
}

by the way … i’d increase the fps :wink:

Awesome, thanks a lot; fps increased, too, looks a lot better.

yep … that’s why i told you so :wink: =)