views:

768

answers:

3

Hi all, I was just wondering if there is a way as3 can detect the users screen resolution? Regards Mark

+2  A: 

Hi,

have a look at stage.fullScreenHeight and stage.fullScreenWidth

OXMO456
A: 

If you are on AIR, you could use the flash.display.Screen class, which contains this info, plus a lot more, such as color-depth, and multi-screen support.

PiPeep
A: 

flash.system.Capabilities.screenResolutionY and flash.system.Capabilities.screenResolutionX

aaa