摘要:
//获得屏幕的分辨率 var x:Number=Capabilities.screenResolutionX;var y:Number=Capabilities.screenResolutionY;Alert.show( "x=" +x+ "y=" +y);第二种方法Alert.show(stage.fullScreenWidth+ "==" +stage.fullScreenHeight);//获得 stage(工作区)的宽、高 Alert.show(stage.stageWidth+"=="+stage.sta 阅读全文