-
on(keyPress) bug?
I had a scroller that was working perfectly using the on (keyPress "<Down">) script. Then it just stopped working. I dismantled the script and the button and re-did the whole thing, but still no success.
Is there some kind of bug at work here? Has anyone else ever experienced an event handler just dying like that?
-
Moh,
If you are placing code directly on to an author-time instance of your button you should be using the following:
Code:
// this responds to the mouse
on (press) {
...
}
// and this responds to the keyboard
onClipEvent (keyDown) {
...
}
To my knowledge, keyPress is not supported in MX 2004, only press, release, keyDown, and keyUp.
+Q__