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); } } }
Related Scripts with Example Source Code in same category :