beautypg.com

Fl.compilererrors, Fl.componentspanel, Fl.configdirectory – Adobe Extending Flash Professional CS5 User Manual

Page 248

background image

226

EXTENDING FLASH PROFESSIONAL

flash object (fl)

Last updated 5/2/2011

// Closes the specified document and prompts to save changes.

fl.closeDocument(fl.documents[0]);

fl.closeDocument(fl.documents[0] , true); // Use of true is optional.

// Closes the specified document without prompting to save changes.

fl.closeDocument(fl.documents[0], false);

See also

fl.closeAll()

fl.compilerErrors

Availability
Flash CS3 Professional.

Usage

fl.compilerErrors

Description
Read-only property; a compilerErrors object, which represents the Errors panel. For information on using this
property, see

compilerErrors object

.

fl.componentsPanel

Availability
Flash MX 2004.

Usage

fl.componentsPanel

Description
Read-only property; a

componentsPanel object

, which represents the Components panel.

Example
The following example stores a componentsPanel object in the

comPanel

variable:

var comPanel = fl.componentsPanel;

fl.configDirectory

Availability
Flash MX 2004.

Usage

fl.configDirectory

This manual is related to the following products: