hey Ignorance - what u would do is use a timer event to catch the particular key and see if i was pressed again within some time value.
something like this...
Code:
function onRemoteEvent(keyChar)
{
if (keyChar == YOURKEY)
{
//var keyDownTime = TIMERCODE;
if ((keyDownTime - lastKeyDownTime < SOMETIME))
{
//so if the key is pressed twice within X secs then its
//considered a double click so execute your code
}
lastKeyDownTime = keyDownTime;
}
return true;
}
that should give u a rough idea anyway... as i used a very similar code in my flash actionscript project.
hope this helps
