0 Replies Latest reply on Sep 12, 2007 12:09 PM by ogden_shooter

    Global keyboard event listener

    ogden_shooter Level 1
      I have been trying; in vain at this point, to set up a global keyboard listener. I have an application with a view stack. in the application tag i have the applicationComplete which calls the "addListeners" function. there I have Application.application.addEventListener(KeyboardEvent.KEY_DOWN, handleKeyPress); (I've also added it to the stage which actually works right up till the view stack changes and they listener quits. The examples in the Flex documentation only work until that view stack changes then all bets are off...I've tried a container canvas and adding it to that, i've tried giving the responsibility to the view stack it self, not of which works. Any thoughts???