Long time Flasher with the discovery of a simple issue that appears
to be a show stopper. I have never had any issues with keyboard
input, but can't seem to detect whether the caps lock key is held
down. These two trace actions consistently return the same Boolean
value based on the toggled state of the caps lock key:
function onEnterFrame() {
trace(Key.isDown(Key.CAPSLOCK));
trace(Key.isToggled(Key.CAPSLOCK));
}
I can only test on the Mac at the moment, but when I test the SWF in
the Flash debug player or through the Flash plugin I get the same
results. Both of those trace actions return true if the key is
toggled, and false if it is not. Even more frustrating is that the
caps lock key does not trigger a Key.onKeyUp event when it is
released – if it did it would be possible to workaround the problem.
Has anyone else encountered this problem or discovered a solution? Is
this a Mac only bug? Does anyone know if screentime or an equivalent
application can workaround not being able to accurately detect key
events with the caps lock key?
Thanks.
Daniel Barber_______________________________________________
[email protected]
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