Hey,
i have a character that moves if you press Up, Down, Left, Right, Up+Left ect.. but i dont know how to make him so when your walking say left and u stop he stops in a left standing stance not the one i have when hes just standing looking up. i have a left standing stance an up stance a right stance a down stance a up+left stance ect.. Any help? just to clarafy it i need to make him on key down LEFT gotoAndStop("walkleft") on keyrelease LEFT gotoAndStop("standleft") somthing like that.. Thnx heres the bit of the code that makes him walk left..
CODE
if (Key.isDown (Key.LEFT)) {
this.gotoAndStop("runL");
this._x -= 5;
}
so somehow i need on release of LEFT key gotoAndStop("stopL");
but i dont know how to do that in code..
help MUCH appreiciated..
thnx in advance...