Hi there, Right now when I hit F11 on the keyboard on any browser, the web application goes into full screen mode. I am trying to give a button for users which makes them go to full screen. I just want to dispatch this in-built F11 event when I click on some button in the application.
Any ideas how can that be achieved? I assume it would be on stage. I can dispatch keyboard event like this: stage.dispatchEvent(new KeyboardEvent(KeyboardEvent.KEY_UP)); But how do I dispatch F11 in particular?