Description
Method; closes the specified document. See also
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);
fl.componentsPanel
Availability
Flash MX 2004.
Usage
fl.componentsPanel
Description
Read-only property; a
Example
The following example stores a componentsPanel object in the
var comPanel = fl.componentsPanel;
fl.configDirectory
Availability
Flash MX 2004.
Usage
fl.configDirectory
Description
Read-only property; a string that specifies the full path for the local user's Configuration directory
in a platform-specific format. To specify this path in a URI format (
.
fl.configURI
Example
The following example displays the Configuration directory in the Output panel.
fl.trace( "My local configuration directory is " + fl.configDirectory );
componentsPanel
object, which represents the Components panel.
.
fl.closeAll()
comPanel
file:///
variable.
), use
flash object
165
Need help?
Do you have a question about the FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY and is the answer not in the manual?