---
title: "AIR获取电脑宽度"
author: "demojava"
date: "2012-06-10T17:39:54Z"
tags: []
categories: ["Web前端"]
slug: "air"
draft: false
lastmod: "2012-06-28T16:12:15Z"
id: 1557931
url: "https://demojava.iteye.com/blog/1557931"
---

AIR获取电脑宽度

Screen.mainScreen.bounds.width;

Screen.mainScreen.bounds.height;