well that is not difficult for example if you tiles are 18x18 then you can move the sprite 2 times with step of 9 (9+9=18) or 9 times with step of 2 or 3 times with step of 6, or 6 times with step of 3 you can do this as follows:
in the hero movie clip:
1. get the keypress and direction of move with onClipEvent (enterFrame). It is important to get this direction only if the the _currantframe==1 for example:
Code:
onClipEvent (enterFrame){
if (this._currantframe==1){
if (Key.isDown (Key.RIGHT)){dir="right";}
}}
2. frame 1: stop()
3. frame2:
Code:
count+=step;
if ( dir == "left"){this._x-=step;} else
if ( dir == "right"){this._x+=step;} else
if ( dir == "up"){this._y-=step;} else
if ( dir == "down"){this._y+=step;}
4. frame 3:
Code:
if ( count >=18){
count=0;
this.gotoAndStop(1);}
else{
gotoAndPlay (2);
}
hope that helps. the variable step could be 2,6,3,9
ms