project.testProject()

Availability

Flash 8.

Usage

project.testProject()

Parameters

None.

Returns

A Boolean value indicating if the project was successfully tested.

Description

Method; tests the project. A project must have a default document to be tested.

Example

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

if (fl.getProject().canTestProject()) { 
    var bSucceeded = fl.getProject().testProject(); 
}
fl.trace(bSucceeded);

See also

fl.getProject(), project.canTestProject(), project.defaultItem, projectItem.test()