sudo97
10 years agoVisitor
Extention
When I extend Video Node, I don't want my extended node to process any key pressings but "play", so I first wrote this: function onKeyEvent(key as String, press as Booelan) as boolean if(key ...
The onKeyEvent() function must return true if the XML component handled the event, or false if it did not handle the event. Returning false allows the event to continue bubbling up the focus chain so that ancestors of the XML component can handle the event.