beautypg.com

Fl.documents, Fl.drawinglayer, Fl.exportpublishprofilestring() – Adobe Extending Flash Professional CS5 User Manual

Page 252

background image

230

EXTENDING FLASH PROFESSIONAL

flash object (fl)

Last updated 5/2/2011

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);

}

fl.drawingLayer

Availability
Flash MX 2004.

Usage

fl.drawingLayer

Description
Read-only property; the

drawingLayer object

that an extensible tool should use when the user wants to temporarily

draw while dragging (for example, when creating a selection marquee).

Example
See

drawingLayer.setColor()

.

fl.exportPublishProfileString()

Availability
Flash Professional CS5.

Usage

fl.exportPublishProfileString( ucfURI [, profileName] )

This manual is related to the following products: