At 21:56 +0100 03/26/2002, Michael von Aichberger wrote:

>"Mit der Funktion keyCode k�nnen Sie feststellen, wann der Benutzer eine
>Pfeil- oder Funktionstaste gedr�ckt hat, was von der Funktion key nicht
>erkannt werden kann."
>
>Which means that the function keyCode is to see if the user has pressed an
>arrow or function key, WHICH ARE NOT RECOGNISED BY THE FUNCTION "KEY".

Well, arrows are recognized by 'the key', to be sure. I wonder if 
this is not a mistranslation into German -- keys such as command, 
control and so on are *not* normally "seen" by 'the key' (as I recall 
-- don't have Director open right now), even if there's a regular 
alpha key pressed. So ctrl-s will still return the ASCII value for 
's' when you do a charToNum on it, and give you "s" if you put the 
key. It would be as though ctrl had not been pressed.

I gather keyCode doesn't behave in exactly the same way.

And of course there's comadDown, controlDown and so on, but they 
don't seem to work if it's *just* cmd or ctrl that are pressed -- 
your code won't do a thing unless there's something else being 
pressed there as well!

>Maybe a bug in the translation of the help texts?

Yes, that seems most likely.

-- 

              Warren Ockrassa | http://www.nightwares.com/
  Director help | Free files | Sample chapters | Freelance | Consulting
        Author | Director 8.5 Shockwave Studio: A Beginner's Guide
                    Published by Osborne/McGraw-Hill
          http://www.osborne.com/indexes/beginners_guides.shtml
[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to