其他分享
首页 > 其他分享> > flex 组合键实现

flex 组合键实现

作者:互联网

原文链接:https://my.oschina.net/u/2296689/blog/545789
var ctrl:Boolean=event.ctrlKey;
if(ctrl)
{
	var code : int = event.keyCode;
	if(code==70)
	new ApplicationEvent(ApplicationEvent.TOGGLE_FULL_SCREEN).dispatch();
}


不可行:
if(event.ctrlKey&&event.keyCode==event.keyCode==Keyboard.HOME)
   Alert("ok");

转载于:https://my.oschina.net/u/2296689/blog/545789

标签:flex,code,组合键,实现,ctrl,ApplicationEvent,event,545789,keyCode
来源: https://blog.csdn.net/chuoxieai9700/article/details/100904876