fl.closeProject()

Availability

Flash 8.

Usage

fl.closeProject()

Parameters

None.

Returns

A Boolean value of true if the project was successfully closed; false if there is no project file open.

Description

Method; closes the Flash Project (FLP) file that is currently open.

Example

The following example attempts to close a project file, and displays a message indicating whether the file was successfully closed:

fl.trace("The project was" + (fl.closeProject() ? "closed" : "not closed"));

See also

fl.getProject(), fl.openProject(), Project object