Craig Grummitt – Before I forget

Discoveries in Swift and iOS development.

Frustrating Flex problems solved #6 – Keydown

·

Spent some time screaming “Why can’t my component receive keyboard events? “

Crazy, I’m not sure why i never knew this, but for a component to receive keyboard events, it needs to implement IFocusMangerComponent. And then, however you’re trying to receive keyboard events, by overriding keyDownHandler, or listening for a keydown event, it should now receive these events…

easy when you know how!

implements=”mx.managers.IFocusManagerComponent”


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *