Detecting Display Settings: Use the screenResolutionX and screenResolutionY properties of the system.capabilities object. : system.Capabilities « Development « Flash / Flex / ActionScript
Detecting Display Settings: Use the screenResolutionX and screenResolutionY properties of the system.capabilities object.
package{ import flash.display.Sprite; import flash.system.Capabilities; public class Main extends Sprite{ public function Main(){
trace(flash.system.Capabilities.screenResolutionX);
trace(flash.system.Capabilities.screenResolutionY);
}
}
}