Making random movement on only X axis

well i’ve read the random movement tutorial but now i only want things to move randomly horizontelly; on the x axis. I’m pretty sure this is possible since most things are with flash :slight_smile:
so would anyone know what AS would be used? i’ve treid the one here:
http://www.kirupa.com/developer/mx/random_motionMX.asp
and deleting stuff that i think is not relevant. But i keep getting more and more erros each time i try to fix something…so anyone know what the AS would be? thx

Well, if you delete everything that has something to do with _y, you should be able to make it work. Basically, instead of the last 2 lines

	this._x = this.x;
	this._y = this.y;

just put

	this._x = this.x;

pom :cowboy: