Freeing up cpu usage

so yea i checked the river is creating a 100% cpu, whats the best way to move the river? Uncommented river n cpu was 20-35%

Method 1


onClipEvent (enterFrame) {
	_x -= 3;
	if (_x<=-400) {
		_x = 0;
	}
}

Method 2
Use frames in a movie clip.

Either way the cpu is still 90-100%