SSamTure.net

워드프레스

현재 화면 사이즈 가져오기(AS3, JS)

[js]
//JavaScript
가로 = screen.availWidth;
세로 = screen.availHeight;
[/js]

[as3]
//ActionScript3
현재 모니터 해상도 가로 = Capabilities.screenResolutionX;
현재 모니터 해상도 세로 = Capabilities.screenResolutionY;
스테이지 전체 가로 = stage.stageWidth;
스테이지 전체 세로 = stage.stageHeight;
[/as3]

Leave a Reply

Your email address will not be published. Required fields are marked *