Is there a way to disable a keyboard key after you press.
As in, if you press and hold, it will only execute the action for that key once.

on (press, keyPress "<Left>") {
\\somehow disable the key
this.gotoAndPLay("walk");
}

Thanks for your help.