User Guide

Project object 353
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()
project.canTestProject()
Availability
Flash 8.
Usage
project.canTestProject()
Parameters
None.
Returns
A Boolean value specifying whether the project can be tested.
Description
Method; determines whether the project can be tested. A project can be tested if a default
document has been specified.