Hi Om,
Yes, Capabilities.screenDPI is there, but how do I set the DPI value for
the application?
I tried a trace:
trace(Capabilities.screenDPI.toString());
trace(Capabilities.screenResolutionX.toString());
trace(Capabilities.screenResolutionY.toString());
In old laptop this is what I got:
72
1600
900
In new laptop:
72
1920
1080
Based on screenResolutionX\Y, I need to override the DPI value of the
application. Where can I do that part?
On Mon, Feb 16, 2015 at 10:04 AM, OmPrakash Muppirala <[email protected]>
wrote:
> Have you tried Capabilities.screenDPI ? It should be available in mx
> applications as well.
>
> Thanks,
> Om
>
> On Sun, Feb 15, 2015 at 8:29 PM, Deepak MS <[email protected]>
> wrote:
>
> > Hello,
> > Just like retina display ipads, off late, there have been laptops with
> > higher DPIs. And we have some of our flex 3 applications in which all the
> > components look too small in overall size on screen in new laptops
> > (something like the screenshots shown here in this link:
> > https://forums.adobe.com/thread/977263 )
> >
> > We can achieve it in flex 4 :
> >
> >
> http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/mx/core/RuntimeDPIProvider.html
> >
> > But I want to know if there is anything I can try to achieve it in flex 3
> > we applications, as it doesn't have "runtimeDPIProvider" property.
> >
> > Appreciate your help.
> >
> > Cheers!
> >
>