本文介绍了定位的Flex / AIR桌面应用程序窗口的右下角的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
任何线索如何能做到这一点?它需要在所有的决议..有任何父/ Stage对象可找出系统的分辨率?
解决方案 公共职能的init():无效 { nativeWindow.x =(Screen.mainScreen.bounds.width - 300) nativeWindow.y =(Screen.mainScreen.bounds.height - 65) }这是一个300x65窗口位于右下角。您正在寻找屏幕。
Any clues how this can be achieved? It needs to work on all resolutions .. is there any parent/stage object available to find out the resolution of the system?
解决方案 public function init():void { nativeWindow.x = ( Screen.mainScreen.bounds.width - 300 ) nativeWindow.y = ( Screen.mainScreen.bounds.height - 65 ) }This is a 300x65 window positioned in the bottom right. You are looking for Screen.
更多推荐
定位的Flex / AIR桌面应用程序窗口的右下角
发布评论