I am calling a Javascript function in my html page from a Flash movie (using ExternalInterface) and I want to know if the user has the Shift key down when the function is called.
It seems straight forward if, for example, I call the function from a mouse click because I can pass the event and check ‘if (event.shiftKey)’. I don’t have an event to check!
Many thanks
Chris
Attach a
keydownandkeyupevent to thedocumenton the page and listen for the shift key.