fl.documents

Availability

Flash MX 2004.

Usage

fl.documents

Description

Read-only property; an array of Document objects (see Document object) 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:

var docs = fl.documents;

The following example displays the names of currently open documents, in the Output panel:

for (doc in fl.documents) { 
    fl.trace(fl.documents[doc].name);  
}