subsonique wrote in flashdev

Listens: Faraquet // Carefully Planned

Delay. Scroll. Delay. Scroll.

Hi...I'm trying to get a movie (16 JPGs strung together horizontally) to do this:

Delay for 3-4 seconds.
Scroll 114 pixels to the left.
Delay for 3-4 seconds.
Scroll 114 pixels to the left.
Delay for 3-4 seconds..
Scroll 114 pixels to the left.
...forever.
...looping the same 16 JPGs.

Of course, I want to use Actionscript but my Actionscripting skills are sub-par to say the least...so far I've got this much:

onClipEvent (enterFrame) {
	if (this._x > -114) {
		this._x += -5;
		}
	}


All this does is make the movie scroll 114 pixels to the left and stop. I need to make it repeat this action infinite times.

I'm sure that I'll somehow have to insert a setInterval command in there somewhere, too but I have no clue how to go about any of this.

Help? :-\