是否可以将 AIR 应用程序固定在任何打开的 windows 上?
is it possible to pin AIR app over any opened windows?
我需要将 AIR 应用程序固定在其他 windows 之上,我的意思是,无论 AIR 应用程序是否处于焦点状态,它都不能隐藏,它必须始终显示,无论我激活或工作的是什么其他程序同理,AIR 应用程序必须每隔 window 总是结束。可能吗?如果是,请告诉我执行此操作的函数(示例代码会更好 :)),如果 AS3 有的话。
您正在寻找 alwaysInFront
property of the NativeWindow
class:
The alwaysInFront
property specifies whether this window will always be in front of other windows (including those of other applications).
The following example forces a window to be displayed in front of all
other windows (that are not similarly forced to the front):
windowObj.alwaysInFront = true;
Another example with a reference to a display object on the window stage:
displayObject.stage.nativeWindow.alwaysInFront=true;
我需要将 AIR 应用程序固定在其他 windows 之上,我的意思是,无论 AIR 应用程序是否处于焦点状态,它都不能隐藏,它必须始终显示,无论我激活或工作的是什么其他程序同理,AIR 应用程序必须每隔 window 总是结束。可能吗?如果是,请告诉我执行此操作的函数(示例代码会更好 :)),如果 AS3 有的话。
您正在寻找 alwaysInFront
property of the NativeWindow
class:
The
alwaysInFront
property specifies whether this window will always be in front of other windows (including those of other applications).
The following example forces a window to be displayed in front of all other windows (that are not similarly forced to the front):
windowObj.alwaysInFront = true;
Another example with a reference to a display object on the window stage:
displayObject.stage.nativeWindow.alwaysInFront=true;