Skip to main content
Inspiring
January 8, 2012
Answered

StageDisplayState.FULL_SCREEN_INTERACTIVE failing

  • January 8, 2012
  • 1 reply
  • 1160 views

I'm having some issues with the fullscreen mode in AIR and hopefully you guys can point me in the right direction. Our application is a pure actionscript project that's published as an AIR file. When the app starts it should jump into full screen mode so I have a listener for added to stage and when I hear that I set the display state to FULL_SCREEN_INTERACTIVE. If I start a totally fresh Air project this workflow works just fine but the problem that I'm seeing is that after a while of sharing the project amongst our team, eventually the full screen stuff just stops working. I'm working with another developer and we're on different systems (I'm on a Mac running Lion, he's on a PC running Win7). I'm wondering if something OS specific is getting in there and screwing things up..? Also we're using Stage3D and Away3D 4 so we're on Flex SDK 4.6 and (I believe) Air 3.0. I'd be happy to send along a zip of the project to anyone at Adobe. We just started last week so there's not much code at all and it's very easy to see the problem. Thanks!

- rob

This topic has been closed for replies.
Correct answer robdodson

I figured out the solution. In the application's xml file we had explicitly set width, height, x, y, minHeight and maxHeight. Commenting all of these out gave us fullscreen support again.

1 reply

robdodsonAuthorCorrect answer
Inspiring
January 9, 2012

I figured out the solution. In the application's xml file we had explicitly set width, height, x, y, minHeight and maxHeight. Commenting all of these out gave us fullscreen support again.