[AS3]Keyboard的键值常量类列表源文件
[AS3]Keyboard的键值常量类
[AS3]Keyboard的键值常量类
- package
- {
- import flash.ui.*;
- public class Keyboards extends Object
- {
- public static const A:int = 65;
- public static const B:int = 66;
- public static const C:int = 67;
- public static const D:int = 68;
- public static const E:int = 69;
- public static const F:int = 70;
- public static const G:int = 71;
- public static const H:int = 72;
- public static const I:int = 73;
- public static const J:int = 74;
- public static const K:int = 75;
- public static const L:int = 76;
- public static const M:int = 77;
- public static const N:int = 78;
- public static const O:int = 79;
- public static const P:int = 80;
- public static const Q:int = 81;
- public static const R:int = 82;
- public static const S:int = 83;
- public static const T:int = 84;
- public static const U:int = 85;
- public static const V:int = 86;
- public static const W:int = 87;
- public static const X:int = 88;
- public static const Y:int = 89;
- public static const Z:int = 90;
- public static const BACKSPACE:uint = 8;
- public static const CAPS_LOCK:uint = 20;
- public static const CONTROL:uint = 17;
- public static const DELETE:uint = 46;
- public static const DOWN:uint = 40;
- public static const END:uint = 35;
- public static const ENTER:uint = 13;
- public static const ESCAPE:uint = 27;
- public static const F1:uint = 112;
- public static const F10:uint = 121;
- public static const F11:uint = 122;
- public static const F12:uint = 123;
- public static const F13:uint = 124;
- public static const F14:uint = 125;
- public static const F15:uint = 126;
- public static const F2:uint = 113;
- public static const F3:uint = 114;
- public static const F4:uint = 115;
- public static const F5:uint = 116;
- public static const F6:uint = 117;
- public static const F7:uint = 118;
- public static const F8:uint = 119;
- public static const F9:uint = 120;
- public static const HOME:uint = 36;
- public static const INSERT:uint = 45;
- public static const LEFT:uint = 37;
- public static const NUMPAD_0:uint = 96;
- public static const NUMPAD_1:uint = 97;
- public static const NUMPAD_2:uint = 98;
- public static const NUMPAD_3:uint = 99;
- public static const NUMPAD_4:uint = 100;
- public static const NUMPAD_5:uint = 101;
- public static const NUMPAD_6:uint = 102;
- public static const NUMPAD_7:uint = 103;
- public static const NUMPAD_8:uint = 104;
- public static const NUMPAD_9:uint = 105;
- public static const NUMPAD_ADD:uint = 107;
- public static const NUMPAD_DECIMAL:uint = 110;
- public static const NUMPAD_DIVIDE:uint = 111;
- public static const NUMPAD_ENTER:uint = 108;
- public static const NUMPAD_MULTIPLY:uint = 106;
- public static const NUMPAD_SUBTRACT:uint = 109;
- public static const PAGE_DOWN:uint = 34;
- public static const PAGE_UP:uint = 33;
- public static const RIGHT:uint = 39;
- public static const SHIFT:uint = 16;
- public static const SPACE:uint = 32;
- public static const TAB:uint = 9;
- public static const UP:uint = 38;
- public function Keyboards()
- {
- return;
- }// end function
- public static function get capsLock() : Boolean
- {
- return Keyboard.capsLock;
- }// end function
- public static function get numLock() : Boolean
- {
- return Keyboard.numLock;
- }// end function
- public static function isAccessible() : Boolean
- {
- return Keyboard.isAccessible();
- }// end function
- }
- }
热门文章推荐
- [HLS]做自己的m3u8点播系统使用HTTP Live Streaming(HLS技术)
- [FMS]FMS流媒体服务器配置与使用相关的介绍
- [AS3]什么是M3U8,与HTML5的区别是什么
- AS2.0 让flash自适应全屏,并且不自动缩放
- [AS3]as3.0的sound类常用技巧整理
- [AS3]as3与ByteArray详解、ByteArray介绍、ByteArray用法
- 关于RTMP,RTMPT,RTMPS,RTMPE,RTMPTE协议的介绍
- [JS]分享浏览器弹出窗口不被拦截JS示例
请稍候...