0
votes

My application can go into fullscreen mode. But it always 'opens' behind Windows Media Center, and I need my air app to display above the media center.

I found this article: http://msdn.microsoft.com/en-us/library/windows/desktop/bb189148.aspx At the overlaying part it says "It is not possible to overlay anything other than a dialog box or a prompt over the Windows Media Center full-screen video experience."

I assume I might need to write a C# app to display a dialog over the media center? Any other ideas are much appreciated.

My code:

this.stage.nativeWindow.activate();
this.stage.nativeWindow.restore();
this.stage.nativeWindow.maximize();

stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE;
2

2 Answers

0
votes

Try to set alwaysInFront property of NativeWindow to true

0
votes

I have a dual screen Air app (AS3 project) and I ran media center (Windows 7) at full screen then ran my app. My app opens focused.

Here are some of my settings, hope this helps.

Main Stage:

stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE;

Pop screen:

with(popScreenOptions){
    type = NativeWindowType.NORMAL;
    minimizable = false;            
    resizable = false;
    maximizable = false;
    systemChrome = NativeWindowSystemChrome.NONE;
    transparent = false;
}