I have following problem:
My HD-DVD App contains some buttons. By default I can move between buttons use arrow keys. I want make own key handler for moving between buttons. I want to use own algorithm for move. I make following code:
addEventListener("controller_key_down", keyHandler, true);function keyHandler(evt)
{
var disableDefaultKeyHandler = true;
switch (evt.key)
{
case 38: // VK_UP
// My Key Handler
break;
...
default:
disableDefaultKeyHandler = false;
break;
}
if(disableDefaultKeyHandler)
{
evt.stopPropagation();
evt.preventDefault();
}
}
Do you have any ideas how I can solve this problem
P.S.
iHDSim 0.1

How to disable default key handler?
atulmistry
First you should download the new version of iHDSim, which is version 0.2 :-)
Second, you should probably add some tracing (or use a breakpoint in the debugger) to detect when the default: case is being used.
Three things I can think of:
Antioch