有什么线索可以实现吗?它需要在所有分辨率下工作。是否有任何父级/阶段对象可用于找出系统的分辨率?
最佳答案
public function init():void
{
nativeWindow.x = ( Screen.mainScreen.bounds.width - 300 )
nativeWindow.y = ( Screen.mainScreen.bounds.height - 65 )
}
这是一个位于右下角的 300x65 窗口。您正在寻找Screen .
关于apache-flex - 将 Flex/AIR 桌面应用程序窗口定位到右下角,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1291804/