Flex接口上叠加了奇怪的条形图

时间:2011-03-06 15:11:32

标签: flex air components flash-builder

当我将Flex应用程序设置为在FullScreen_Interactive中运行时,只要单击控件,此栏就会出现在屏幕底部。它非常突兀,到目前为止已出现在两台不同的计算机上。

它下面有很多纯白色,它覆盖了屏幕底部的至少5-10%,它也会阻挡控件。我显然从来没有制作/放置过这个东西,还有其他人遇到过这个吗?

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"

        }

1 个答案:

答案 0 :(得分:1)

尝试设置

showStatusBar="false"
在WindowedApplication中