How do I get the user's screen resolution in ActionScript 3?

前端 未结 4 1019
难免孤独
难免孤独 2021-02-09 04:12

Is there a way ActionScript 3 can detect the user\'s screen resolution?

4条回答
  •  抹茶落季
    2021-02-09 05:08

    flash.system.Capabilities.screenResolutionY and flash.system.Capabilities.screenResolutionX

提交回复
热议问题