Adobe Air - 监控鼠标光标

Adobe Air - Monitors Mouse Cursor

我正在使用两个显示器在 Adob​​e Air exe 中开发一个应用程序,该应用程序计算计算机有多少个显示器,并使用矩形来填充它们。

到目前为止一切顺利,我的问题是为什么鼠标光标决定为主显示器。

例如:如果我在左屏打开应用程序,应用程序在左屏启动,在右屏打开应用程序,应用程序在右屏打开。

有什么办法可以防止鼠标对主显示器进行管理?

我会使用屏幕 Class。

var screenList:Array = Screen.screens;

stage.nativeWindow.x = screenList[0].visibleBounds.left;
stage.nativeWindow.y = screenList[0].visibleBounds.top;