Search code examples
actionscript-3flashairiphone-5

how can I get my game to fullscreen in iPhone 5? using air 4.0


I am making a game in flash IDE using adobe air, want to make it landscape full screen, my stage size is 560x320 but it has unused screen on the sides. Can anyone guide me what is the small thing I am missing, rest full game is completed.

Thanks


Solution

  • Don't forget to add in the default image in particular for the iPhone5 you need:

    Default-568h@2x.png
    

    This makes sure your stage is the full area of the screen and not windowed. You can see all the sizes here:

    http://help.adobe.com/en_US/air/build/WS901d38e593cd1bac1e63e3d129907d2886-8000.html#WS901d38e593cd1bac58d08f9112e26606ea8-8000