project.publishProject()

Availability

Flash 8.

Usage

project.publishProject()

Parameters

None.

Returns

A Boolean value indicating if the project was successfully published.

Description

Method; publishes the FLA files in a project.

Example

The following example publishes the project after confirming that it can be published, and then indicates whether the project was published in the Output panel:

if (fl.getProject().canPublishProject()) { 
    var bSucceeded = fl.getProject().publishProject(); 
}
fl.trace(bSucceeded);

See also

fl.getProject(), project.canPublishProject(), projectItem.publish()