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


Flash CS3


 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/flash/9.0/main/00004131.html