我想通过组合键盘快捷键和鼠标单击来启动 MapMouseEvent。这是我所拥有的一部分,我不确定逻辑是否正确:
private function MapClick(event:MapMouseEvent):void
{
if (event.altKey) altPressed = true;
{
Alert.show("Alt key has been pressed - click on screen");
// launch the function here
}
else
{
Alert.show(" Must click Alt key first, then click on map");
}
}
我在这个网站上看过类似的例子,但仍然没有找到任何解决方案。我希望知道 FLEX 的人可以帮助我通过一系列键盘快捷键基本启动一个功能。例如:Alt + 鼠标单击,或 Shift + 鼠标单击,或类似的东西。原因是简单的鼠标单击已经在屏幕上执行了其他操作。
谢谢 ...
RJ