Caps Lock on/off [Toggle Caps Lock] from JS

Caps Lock on/off [Toggle Caps Lock] from JS

Post by macromedia » Fri, 28 May 2004 13:05:32


Hello Forum,

I've written the below code in FLASH to trap CAPS LOCK on/off in a browwer.
It is showing on/off state in a parent/main window, but not in a popup window.
any suggestions to correct this?

THE CODE:
trace(Key.isToggled(Key.CAPSLOCK))

I've placed the boolean into a text box to see the state of the caps key

Thanks in advance