document.width

#### Availability

Flash MX 2004.

#### Usage

document.width

#### Description

Property; an integer that specifies the width of the document (Stage) in pixels.

#### Example

The following example sets the width of the Stage to 400 pixels.

javascript
fl.getDocumentDOM().width= 400;


#### See also

document.height (../Document_object/docume91.md)