I am trying to capture the escape key and have been able to do so in the past with this code. But when I publish for flash player 8, the Escape key no longer registers an event, while other keys work fine. I couldn't find anything about this is the docs. Anybody know why?

this.KeyListener = new Object();
this.KeyListener.owner = this;
this.KeyListener.onKeyUp = function () {
        trace(Key.getCode())
}
Key.addListener(this.KeyListener);
                

brookd          


_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to