Basta

System.capabilities.screenResolutionX
System.capabilities.screenResolutionY

anche in flash mx.