Container Flex


    creationComplete="initApp()">
    
    private function initApp():void {
        application.addEventListener(KeyboardEvent.KEY_UP, keyHandler);
        my_vbox.addEventListener(KeyboardEvent.KEY_UP, keyHandler);
        my_textinput.addEventListener(KeyboardEvent.KEY_UP, keyHandler);
        my_textinput.setFocus();
    }
    private function keyHandler(event:KeyboardEvent):void {
        trace(event.target + "(" + event.currentTarget + "): " + event.keyCode + "/" + event.charCode);
    }