Hi Alex,

Yes, I did try that, but no luck.

*protected* *function*
windowedapplication1_windowCompleteHandler(event:AIREvent):*void*

{

maximize();

stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE;

}


I also happened to set 'fullScreen' to true in app xml.

<initialWindow>

        ....

         ....

        <fullScreen>true</fullScreen>

</initialWindow>


It shows the application in full screen, but doesn't cover the
empty spaces at right and at the bottom.

Screenshot:

http://pasteboard.co/apdO45GCn.png

On Fri, Aug 19, 2016 at 11:03 AM, Alex Harui <[email protected]> wrote:

> Did you try this?
>
> http://help.adobe.com/en_US/ActionScript/3.0_
> ProgrammingAS3/WS2E9C7F3B-6A7C
> -4c5d-8ADD-5B23446FBEEB.html
>
> HTH,
> -Alex
>
> On 8/18/16, 10:12 PM, "Deepak MS" <[email protected]> wrote:
>
> >Hi there,
> >We have a SQLite based flex mobile app(for iPads), which users would like
> >to have on their desktops and surface pro devices(for ex: Dell XPS which
> >runs on Windows 8). Hence I created a flex desktop application project and
> >released a native installer (.exe) which can be installed as an
> >application. Application works as expected, but only problem is the
> >display.
> >
> >By default, the device has screenDPI of 72 and hence application takes 160
> >as it's default applicationDPI.
> >
> >This is how it looks with default 160:
> >http://pasteboard.co/aogfHDLCJ.png
> >It covers entire screen, but its too big overall.
> >
> >I changed the applicationDPI to 240 and now it shows up as expected
> >(smaller\scaled down components), but it doesn't cover the entire screen,
> >even though the application has the width and height set to 100%.
> >Screenshot:
> >http://pasteboard.co/12qHLLdhj.png
> >
> >I have no idea why it's not covering entire screen. Has it got to do
> >anything with applicationDPI? Kindly let me know if there is something I
> >can try to make it cover entire screen.
> >
> >Cheers!
> >Deepak
>
>

Reply via email to