Flex 界面上叠加了奇怪的栏
当我将 Flex 应用程序设置为在 FullScreen_Interactive 中运行时,只要单击某个控件,该栏就会出现在屏幕底部。它非常引人注目,并且到目前为止已经出现在两台不同的计算机上。
它下面有很多纯白色,它覆盖了屏幕底部的至少 5-10%,它还遮挡了控件。我显然从未制作/放置过这个东西,还有其他人遇到过这个吗?
附加:
protected function windowedapplication1_applicationActivateHandler(event:AIREvent):void
{
stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE;
stage.addEventListener(KeyboardEvent.KEY_DOWN, stopesc);
//Scale to resolution size
var thisScreen:Screen = Screen.mainScreen;
var newScaleX:Number = thisScreen.visibleBounds.width / 1019 * 0.98;
var newScaleY:Number = thisScreen.visibleBounds.height / 680 * 0.98;
var newScale:Number = Math.min(newScaleX,newScaleY,1.5);
this.scaleX = newScale;
this.scaleY = newScale;
this.height = this.height * newScale;
this.width = this.width * newScale;
showStatusBar="false"
}
When I set my Flex application to run in FullScreen_Interactive, as soon as I click on a control this bar appears along the bottom of the screen. It's quite obtrusive and has shown up on two different computers so far.
There's a lot of solid white underneath it and it covers at least 5-10% of the bottom of the screen, it blocks the controls also. I obviously never made/placed this thing, has anyone else come across this?
APPEND:
protected function windowedapplication1_applicationActivateHandler(event:AIREvent):void
{
stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE;
stage.addEventListener(KeyboardEvent.KEY_DOWN, stopesc);
//Scale to resolution size
var thisScreen:Screen = Screen.mainScreen;
var newScaleX:Number = thisScreen.visibleBounds.width / 1019 * 0.98;
var newScaleY:Number = thisScreen.visibleBounds.height / 680 * 0.98;
var newScale:Number = Math.min(newScaleX,newScaleY,1.5);
this.scaleX = newScale;
this.scaleY = newScale;
this.height = this.height * newScale;
this.width = this.width * newScale;
showStatusBar="false"
}
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试
在 WindowedApplication 中进行设置。
Try setting
in the WindowedApplication.