document.selectAll()

#### Availability

Flash MX 2004.

#### Usage

document.selectAll()

#### Parameters

None.

#### Returns

Nothing.

#### Description

Method; selects all items on the Stage. This method is equivalent to pressing Control+A (Windows) or Command+A (Macintosh) or selecting Edit >Select All.

#### Example

javascript
The following example selects everything that is currently visible to the user:

fl.getDocumentDOM().selectAll();


#### See also

document.selection (../Document_object/docum430.md), document.selectNone() (../Document_object/docum440.md)

<span id="document.selection" class="anchor"></span>