fl.documents

#### Availability

Flash MX 2004.

#### Usage

fl.documents

#### Description

Read-only property; an array of Document objects (see Document object (../Document_object/document_summary.md)) that represent the documents (FLA files) that are currently open for editing.

#### Example

The following example stores an array of open documents in the docs variable:

javascript
var docs = fl.documents;

The following example displays the names of currently open documents, in the Output panel:
javascript
for (doc in fl.documents) {
fl.trace(fl.documents[doc].name);
}