下面的例子显示你按下的键的字符和键代码值。
The following example shows the character and key code values for the keys you press.
从有效的键代码中指定一个。从很多的信息中认出键代码域。
Specifies one of virtual-key codes. For more information see Key codes section.
在键和键代码之间的映射是依赖设备和操作系统。ASCII值,在另一方面,在AS文档中是可用的。
The mappings between keys and key codes are device and operating system dependent. ASCII values, on the other hand, are available in the ActionScript documentation.
You can certainly hit Enter but as we saw-- seen that very quickly makes a mess of your code and such and so backslash N is new line.
你也可以敲回车键-,但是会让你的代码看起来乱七八糟,反斜杠n就是换行符。
应用推荐