Skip to main content
Participant
December 2, 2011
Question

Full screen application on Mac Os Lion

  • December 2, 2011
  • 22 replies
  • 6313 views

Hi,

I am trying to develop a full screen application in AS3  / Air. This application must run on Mac Os X Lion plateform.

The fact is that when I launch the application on Lion , a start up window appear, then the application is going to full screen mode, but the launch window still appear in front of it.

This problem is for Lion only, as the application work well on Snow Leopard.

Here is the code i'am using :

Init of the app :

<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"

                                xmlns:s="library://ns.adobe.com/flex/spark"

                                xmlns:mx="library://ns.adobe.com/flex/mx"

                                showStatusBar="false"

                                applicationComplete="init()"

                                width="100%" height="100%"

>

Public function to initiate full screen


public function init():void

{    

     // some stuff before, nothing to bother with full screen


      this.stage.displayState = StageDisplayState.FULL_SCREEN; // fullscreen --

   

}

Any clue to bring the full screen in front or to reduce the launch window ?

regards,

Taz

This topic has been closed for replies.

22 replies

Participating Frequently
March 27, 2012

Hi there, i am usign Flex SDK 4.6 with Air 3.2 release candidate on OSX Lion 10.7.3 and i still have this problem too...

I did manage to find a workaround that work only with air 3.2 :

I wait for user mouse input before setting it to fullscreen and it works.


But i still can't make it go fullscreen automatically, it will be hidden by the app window.

One thing is weird, when i compile it in flash builder, i get this bug one time in 1000 compiles, but when it is installed as an air app on , it wont work at all.. unless i use the workaround stated earlier.

Thanks

chris.campbell
Legend
March 31, 2012

Jim,

Could you please open a new bug report on this over at bugbase.adobe.com?  Please post back with the URL so that others affected can add their comments and votes.

Thanks,

Chris

Participating Frequently
April 11, 2012
Participant
February 14, 2012

I have the same problem here, and I found the renderMode direct didnt work on my computer.

Thanks,

Carlos

chris.campbell
Legend
February 14, 2012

Hi Carlos,

Can you send me (ccampbel@adobe.com) a sample project so I can try and reproduce this here?  What version of the runtime do you have installed and are you on 10.7.3?

Thanks,

Chris

TAzMan_FRAuthor
Participant
December 8, 2011

just a small up, nobody has a clue about this ?

regards,

chris.campbell
Legend
December 8, 2011

Sorry for delayed response.  I actually tried this out the other day for you but must have been side tracked and didn't respond.  Unfortunately, I've been unable to reproduce this using Flash Builder 4.6 with the Flex 4.6.0 sdk (which includes AIR 3.1).  Would you be willing to send me your project and build .air file so I can try your stuff out?  Feel free to email me at ccampbel@adobe.com.

Thanks,
Chris

TAzMan_FRAuthor
Participant
December 12, 2011

Hi Chris,

I mailled you the project's install la week, please let me know if you have some issues with it,

regards,