Fl.compilererrors, Fl.componentspanel – Adobe Extending Flash Professional CS4 User Manual
Page 248
226
EXTENDING FLASH CS4 PROFESSIONAL
flash object (fl)
Returns
Nothing.
Description
Method; closes the specified document.
Example
The following example illustrates two ways of closing a document.
// 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.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
fl.componentsPanel
Availability
Flash MX 2004.
Usage
fl.componentsPanel
Description
Read-only property; a
, which represents the Components panel.
Example
The following example stores a componentsPanel object in the
comPanel
variable:
var comPanel = fl.componentsPanel;