BKWLD

 

Flash Keyboard Events Not Working…Duh.

By Ben on December 18, 2007 at 10:10 am

I’m doing some work with flash.ui.Keyboard today. During testing in the Flash environment, every time I pressed (for example) the ‘F’ key, it was shifting focus to the Tools ‘Fill Transform’ tool and therefore not registering the event. To get around this, I made a copy of my shortcuts and removed all the tool shortcuts. However, the Keyboard was not registering Keyboard.BACKSPACE presses and some of the other keys. After some poking around, I found this little number when previewing the SWF … Control > Disable Keyboard Shortcuts. Duh! This makes sure than the IDE is not receiving the Keyboard events during preview.

2 Comments »

  1. Oh man, lol, that sucks!

    Comment by Robert — December 18, 2007 @ 4:00 pm

  2. Dude. Same problem here. Thanks for letting me in on the secret, I thought I forgot how to make a button!

    Comment by Dan — February 25, 2008 @ 6:28 pm


RSS feed for comments on this post. | TrackBack URI

Leave a comment