project.canPublishProject()

Availability

Flash 8.

Usage

project.canPublishProject()

Parameters

None.

Returns

A Boolean value specifying whether the project can be published.

Description

Method; determines whether the project can be published. A project can be published if it contains at least one FLA file.

Example

The following example displays a message in the Output panel if the project cannot be published:

if (!fl.getProject().canPublishProject()) { 
    fl.trace("Project cannot be published!"); 
}

See also

fl.getProject(), project.publishProject(), projectItem.canPublish()