Movement

Ok… I have a simple code for movement…


on (keyPress "<Left>") {
	currentX = this._x;
	this._x = currentX - 2;
	_root.hansl_front._rotation = 270;
}
on (keyPress "<Right>") {
	currentX = this._x;
	this._x = currentX + 2;
	_root.hansl_front._rotation = 90;
}
on (keyPress "<Up>") {
	currentY = this._y;
	this._y = currentY - 2;
	_root.hansl_front._rotation = 360;
}
on (keyPress "<Down>") {
	currentY = this._y;
	this._y = currentY + 2;
	_root.hansl_front._rotation = 180;
}

I want it so that whenever you hit like the up button… it changes the movieclip to a differnt image so it looks like the character is actually walking forward backwards and ect…
thanks for your help