[web] trouble finding screen DPI
For a web applicition I'm making in flex, I'm trying to find the screen DPI, but I'm having trouble finding a way. I've already tried to things:
-using the Capabilities.screenDPI variable always returns 72, regardless of the actual DPI of the screen
-using the javascript screen.deviceXDPI or screen.logicalXDPI and passing a variable to flex only works in IE.
I've been googling for an answer forever and can't find one, hopefully someone here can help me.
You can't rely too heavily on the value returned, because the user may not calibrate their monitor to use the full screen area anyway. What do you need to use this value for?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement