MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 234

Extending flash
Table of Contents

Advertisement

Description
Method; creates a Flash Project (FLP) file with the specified name. If the file can't be created,
an informational dialog box is displayed. If the file already exists, a dialog box is displayed
asking whether to overwrite the file.
Example
The following example creates a project file in the specified directory (if it exists) and specifies
a name to display in the Project panel.
var myProject = fl.createProject("file:///C|/Projects/
MasterProject_2005.flp", "Master Project");
See also
,
fl.getProject()
fl.openProject()
fl.documents
Availability
Flash MX 2004.
Usage
fl.documents
Description
Read-only property; an array of Document objects (see
documents (FLA files) that are currently open for editing.
Example
The following example stores an array of open documents in the
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);
}
234
Objects
,
Project object
Document
object) that represent the
variable.
docs

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?

This manual is also suitable for:

Flash 8

Table of Contents