true fullscreen in AIR on OSX

been trying to figure this one out for about a year and a half now, and finally stumbled across the answer.

those of you who’ve tried to fullscreen an AIR app in OSX know about the annoying grey bar across the bottom of the screen. apparently, that’s a status bar. i guess you can even set status messages into it. handy, perhaps, if you’re making a browser entirely in AIR. but i think most of us just want it to go away.

you can do this by adding showStatusBar="false" to your mx:WindowedApplication tag.
(you can also add status with status="who needs this stupid grey bar?".)

i found this out while playing with mx:Windows. all NativeWindows have a statusBar by default. how bout that.

-eric

3 Comments

  1. I recently built a kiosk in air using Flash CS4 and I managed a full screen by setting the air window properties to:

    systemChrome: none
    x: 0
    y: 0

    and on FRAME 2 ( Important for OSX that it not be on frame 1 ):

    stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE;

  2. Resa says:

    Thank you!!!!

Leave a Reply

Additional comments powered by BackType