Ok, more things happening that i don’t expect…
perhaps someone can tell me why in the following code up and down trace out, but escape does not?
$objKey.[COLOR=blue]onKeyDown[/COLOR] = [COLOR=blue]function[/COLOR](){
**if**([COLOR=red]Key[/COLOR].[COLOR=blue]isDown[/COLOR]([COLOR=red]Key[/COLOR].[COLOR=red]ESCAPE[/COLOR])){
[COLOR=blue]trace[/COLOR]("_Escape");
} **else if**([COLOR=red]Key[/COLOR].[COLOR=blue]isDown[/COLOR]([COLOR=red]Key[/COLOR].[COLOR=red]UP[/COLOR])){
[COLOR=blue]trace[/COLOR]("_Up");
} **else if**([COLOR=#ff0000]Key[/COLOR].[COLOR=blue]isDown[/COLOR]([COLOR=red]Key[/COLOR].[COLOR=red]DOWN[/COLOR])){
[COLOR=blue]trace[/COLOR]("_Down");
}
}