Flash onKeyUp ?
Flash onKeyUp ?
- Started
- Last post
- 4 Responses
- CyBrainX
Pretty simple. I have a button off stage named btnLeft. Why doesn't this work?
this.btnLeft.onKeyUp = function() {
if (Key.isDown(37)) {
trace("left button works");
}
}
- UndoUndo0
you need to use onRelease or onReleaseOutside (although ecma not quite javascript)
:)
- CyBrainX0
I'm not following.
If I use on(release), how could I use onKeyUp() ?
- oBeseLilNinja0
isnt one javascript and the other actionscripty?
- CyBrainX0
This worked for me: