onkeyup
i want to make a button bashing game, i tryed using a button and with on press go to next frame but people can get around this people canjust press and hold down, so i looked into on release, but i dont know how to do this.
is there any button bashing tutorials out there?
Im not quiet sure wat u mean by this but i know there is a command if this helps at all ? :
on (keyPress “<Up>”) { }
thanks but this finally got sorted by a friend. he used
onClipEvent(keyDown){ e = Key.getAscii(); trace(e); }
onClipEvent(keyUp){ if (e == 32){ _root.nextFrame(); } else { trace(“NOT SPACE!”); } }
Creating engaging and entertaining content for designers and developers since 1998.
:: Copyright KIRUPA 2024 //--