-
Preventing Enter key from working as a play button
I would like to disable the enter key from working as a play button for Flash 8 or Flash in general. I thought that I would outsmart it by having a key listener, but I was wrong.
var keyListener:Object = new Object();
keyListener.onKeyDown = function() {
switch (Key.getCode()) {
case Key.ENTER :
break;
}
};
Key.addListener(keyListener);
-
So I guess it must not be possible.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|