- stage.addEventListener(KeyboardEvent.KEY_DOWN, onKeyDown);
- function onKeyDown(pEvent:KeyboardEvent):void{
- if(pEvent.keyCode == Keyboard.BACK){
- pEvent.preventDefault();
- }
- }
android系统中,AIR开发APK,如何屏蔽返回键
最新推荐文章于 2022-12-05 14:28:50 发布