Flex 界面上叠加了奇怪的栏

发布于 2024-10-20 16:35:12 字数 999 浏览 0 评论 0原文

当我将 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

腻橙味 2024-10-27 16:35:12

尝试

showStatusBar="false"

在 WindowedApplication 中进行设置。

Try setting

showStatusBar="false"

in the WindowedApplication.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文