3
Jun/100
Jun/100
NativeMenu and CMD-Backspace #AS3
If you are using var the NativeMenu on Mac and don’t know how to assign the backspace key, then you are here completely right.
This is how it works:
You just to set keyEquivalent = ‘\b’ (On German Keyboard: Alt Gr – Shift – 7)
Example:
menuItem:NativeMenuItem = nativeMenu.addItem(new NativeMenuItem(“MyMenuItem”));
menuItem.keyEquivalentModifiers = [Keyboard.COMMAND];
menuItem.keyEquivalent = ‘\b’;
menuItem.enabled = false;
menuItem.addEventListener(Event.SELECT, eventHandler);
Recommend us!
Posts
ieservices@twitter
- Dropbox featuring jQuery UI CoverFlow 2.2 Demo now online http://t.co/ky91C8ZV 7 months ago
- whups: Steve Jobs #resigns from #apple http://t.co/sjMVMUv 8 months ago
- @Bloggonaut Ja, das wünsche ich auch! :) 11 months ago
- aaaaaaand effective management http://youtu.be/g-bFhIZx6vU :) 11 months ago
- Bad asset management http://youtu.be/vh0vCYMwNvw 11 months ago